Index: src/runtime/runtime-compiler.cc |
diff --git a/src/runtime/runtime-compiler.cc b/src/runtime/runtime-compiler.cc |
index c0950456f9b82d88802caa7e1e1b913ffbc11f02..490c3f0684313f038bf4a6fe50eba4a721f83b97 100644 |
--- a/src/runtime/runtime-compiler.cc |
+++ b/src/runtime/runtime-compiler.cc |
@@ -303,7 +303,7 @@ |
bool CodeGenerationFromStringsAllowed(Isolate* isolate, |
Handle<Context> context) { |
- DCHECK(context->allow_code_gen_from_strings()->IsFalse(isolate)); |
+ DCHECK(context->allow_code_gen_from_strings()->IsFalse()); |
// Check with callback if set. |
AllowCodeGenerationFromStringsCallback callback = |
isolate->allow_code_gen_callback(); |
@@ -326,7 +326,7 @@ |
// Check if native context allows code generation from |
// strings. Throw an exception if it doesn't. |
- if (native_context->allow_code_gen_from_strings()->IsFalse(isolate) && |
+ if (native_context->allow_code_gen_from_strings()->IsFalse() && |
!CodeGenerationFromStringsAllowed(isolate, native_context)) { |
Handle<Object> error_message = |
native_context->ErrorMessageForCodeGenerationFromStrings(); |