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