Skip to content

Commit

Permalink
Debugging sym info loss during strict equality checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSpencer committed Jan 8, 2018
1 parent 2bbf219 commit 3c97262
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WebKit/Source/JavaScriptCore/symbolic/symbolicinterpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@ JSC::JSValue SymbolicInterpreter::ail_op_binary(JSC::CallFrame* callFrame,
}

Statistics::statistics()->accumulate(std::string("Symbolic::Interpreter::LostSymbolicInfo::ail_op_binary::") + opNameString(op), 1);
//std::cerr << std::string("Symbolic::Interpreter::LostSymbolicInfo::ail_op_binary::") + opNameString(op) << std::endl;
//std::cerr << "x:" << " isEmpty:" << x.isEmpty() << " isFunction:" << x.isFunction() << " isUndefined:" << x.isUndefined() << " isNull:" << x.isNull() << " isBoolean:" << x.isBoolean() << " isNumber:" << x.isNumber() << " isString:" << x.isString() << " isPrimitive:" << x.isPrimitive() << " isGetterSetter:" << x.isGetterSetter() << " isObject:" << x.isObject() << " isSymbolic:" << x.isSymbolic() << " isIndirectSymbolic:" << x.isIndirectSymbolic() << std::endl;
//std::cerr << "y:" << " isEmpty:" << y.isEmpty() << " isFunction:" << y.isFunction() << " isUndefined:" << y.isUndefined() << " isNull:" << y.isNull() << " isBoolean:" << y.isBoolean() << " isNumber:" << y.isNumber() << " isString:" << y.isString() << " isPrimitive:" << y.isPrimitive() << " isGetterSetter:" << y.isGetterSetter() << " isObject:" << y.isObject() << " isSymbolic:" << y.isSymbolic() << " isIndirectSymbolic:" << y.isIndirectSymbolic() << std::endl;

return result;

break;
Expand Down

0 comments on commit 3c97262

Please sign in to comment.