Index: src/arguments.h |
diff --git a/src/arguments.h b/src/arguments.h |
index 53cea46b70dbc4fa176439d029e2cc795fcf9e52..ca24a794a134bba2e38ea1729fa87a00186f6366 100644 |
--- a/src/arguments.h |
+++ b/src/arguments.h |
@@ -94,6 +94,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()); \ |
CLOBBER_DOUBLE_REGISTERS(); \ |
if (FLAG_runtime_call_stats) { \ |
return Stats_##Name(args_length, args_object, isolate); \ |