Index: src/runtime/runtime-compiler.cc |
diff --git a/src/runtime/runtime-compiler.cc b/src/runtime/runtime-compiler.cc |
index 2cbb732004a68c9d32a31cd3abc203d844081389..16175803f05a76d91b2ccdb9515b2ba0c39d26f3 100644 |
--- a/src/runtime/runtime-compiler.cc |
+++ b/src/runtime/runtime-compiler.cc |
@@ -398,7 +398,7 @@ |
native_context->ErrorMessageForCodeGenerationFromStrings(); |
Handle<Object> error; |
MaybeHandle<Object> maybe_error = isolate->factory()->NewEvalError( |
- MessageTemplate::kCodeGenFromStrings, error_message); |
+ "code_gen_from_strings", HandleVector<Object>(&error_message, 1)); |
if (maybe_error.ToHandle(&error)) isolate->Throw(*error); |
return MakePair(isolate->heap()->exception(), NULL); |
} |