Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index db0ec328ef538f2cba2d686313c7c54c4be534ce..9b24ee37ecf433b50062e20cb541bbda239ba337 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -1444,7 +1444,7 @@ static void ModuleGetExport( |
Handle<String> name = v8::Utils::OpenHandle(*property); |
Handle<Object> exception = isolate->factory()->NewReferenceError( |
- "not_defined", HandleVector(&name, 1)); |
+ MessageTemplate::kNotDefined, name); |
isolate->ScheduleThrow(*exception); |
return; |
} |
@@ -1465,7 +1465,7 @@ static void ModuleSetExport( |
if (old_value->IsTheHole()) { |
Handle<String> name = v8::Utils::OpenHandle(*property); |
Handle<Object> exception = isolate->factory()->NewReferenceError( |
- "not_defined", HandleVector(&name, 1)); |
+ MessageTemplate::kNotDefined, name); |
isolate->ScheduleThrow(*exception); |
return; |
} |