Index: src/arguments.h |
diff --git a/src/arguments.h b/src/arguments.h |
index ca24a794a134bba2e38ea1729fa87a00186f6366..34fbca4feacda2ca3b7eec59b054b107bb32c5b4 100644 |
--- a/src/arguments.h |
+++ b/src/arguments.h |
@@ -81,6 +81,7 @@ double ClobberDoubleRegisters(double x1, double x2, double x3, double x4); |
// TODO(cbruni): add global flag to check whether any tracing events have been |
// enabled. |
+// TODO(cbruni): Convert the IsContext CHECK back to a DCHECK. |
#define RUNTIME_FUNCTION_RETURNS_TYPE(Type, Name) \ |
static INLINE(Type __RT_impl_##Name(Arguments args, Isolate* isolate)); \ |
\ |
@@ -94,7 +95,7 @@ double ClobberDoubleRegisters(double x1, double x2, double x3, double x4); |
} \ |
\ |
Type Name(int args_length, Object** args_object, Isolate* isolate) { \ |
- DCHECK(isolate->context() == nullptr || isolate->context()->IsContext()); \ |
+ CHECK(isolate->context() == nullptr || isolate->context()->IsContext()); \ |
CLOBBER_DOUBLE_REGISTERS(); \ |
if (FLAG_runtime_call_stats) { \ |
return Stats_##Name(args_length, args_object, isolate); \ |