Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index 3dba2d6ad72880dfa4dcdc5fc0febba6c0194eae..a0d98e27d57ee50aa0b1fc6f0ea654edb95b6f31 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -593,7 +593,7 @@ Handle<Code> StubCache::ComputeCallConstant(int argc, |
Handle<Code> code = |
compiler.CompileCallConstant(object, holder, name, check, function); |
code->set_check_type(check); |
- ASSERT_EQ(flags, code->flags()); |
+ ASSERT(flags == code->flags()); |
PROFILE(isolate_, |
CodeCreateEvent(CALL_LOGGER_TAG(kind, CALL_IC_TAG), *code, *name)); |
GDBJIT(AddCode(GDBJITInterface::CALL_IC, *name, *code)); |
@@ -633,7 +633,7 @@ Handle<Code> StubCache::ComputeCallField(int argc, |
Handle<Code> code = |
compiler.CompileCallField(Handle<JSObject>::cast(object), |
holder, index, name); |
- ASSERT_EQ(flags, code->flags()); |
+ ASSERT(flags == code->flags()); |
PROFILE(isolate_, |
CodeCreateEvent(CALL_LOGGER_TAG(kind, CALL_IC_TAG), *code, *name)); |
GDBJIT(AddCode(GDBJITInterface::CALL_IC, *name, *code)); |
@@ -672,7 +672,7 @@ Handle<Code> StubCache::ComputeCallInterceptor(int argc, |
Handle<Code> code = |
compiler.CompileCallInterceptor(Handle<JSObject>::cast(object), |
holder, name); |
- ASSERT_EQ(flags, code->flags()); |
+ ASSERT(flags == code->flags()); |
PROFILE(isolate(), |
CodeCreateEvent(CALL_LOGGER_TAG(kind, CALL_IC_TAG), *code, *name)); |
GDBJIT(AddCode(GDBJITInterface::CALL_IC, *name, *code)); |
@@ -702,7 +702,7 @@ Handle<Code> StubCache::ComputeCallGlobal(int argc, |
CallStubCompiler compiler(isolate(), argc, kind, extra_state, cache_holder); |
Handle<Code> code = |
compiler.CompileCallGlobal(receiver, holder, cell, function, name); |
- ASSERT_EQ(flags, code->flags()); |
+ ASSERT(flags == code->flags()); |
PROFILE(isolate(), |
CodeCreateEvent(CALL_LOGGER_TAG(kind, CALL_IC_TAG), *code, *name)); |
GDBJIT(AddCode(GDBJITInterface::CALL_IC, *name, *code)); |