Index: src/elements.cc |
diff --git a/src/elements.cc b/src/elements.cc |
index 7f9691bf765fd73382da75a709faedf1e5293367..ce32cb2898dadf4f3c387769d9e1f581c85cb3c6 100644 |
--- a/src/elements.cc |
+++ b/src/elements.cc |
@@ -1409,10 +1409,10 @@ |
if (is_strict(language_mode)) { |
// Deleting a non-configurable property in strict mode. |
Handle<Object> name = isolate->factory()->NewNumberFromUint(key); |
- THROW_NEW_ERROR( |
- isolate, |
- NewTypeError(MessageTemplate::kStrictDeleteProperty, name, obj), |
- Object); |
+ Handle<Object> args[2] = { name, obj }; |
+ THROW_NEW_ERROR(isolate, NewTypeError("strict_delete_property", |
+ HandleVector(args, 2)), |
+ Object); |
} |
return isolate->factory()->false_value(); |
} |