| Index: src/builtins.cc
|
| diff --git a/src/builtins.cc b/src/builtins.cc
|
| index 71867e1962acef52f03b2d97ea55cf60be0c3e42..843261c713558143e4e649d5d6129e2f9b321215 100644
|
| --- a/src/builtins.cc
|
| +++ b/src/builtins.cc
|
| @@ -1000,22 +1000,23 @@ BUILTIN(ArrayConcat) {
|
|
|
|
|
| // -----------------------------------------------------------------------------
|
| -// Generator and strict mode poison pills
|
| +// Throwers for restricted function properties and strict arguments object
|
| +// properties
|
|
|
|
|
| -BUILTIN(StrictModePoisonPill) {
|
| +BUILTIN(RestrictedFunctionPropertiesThrower) {
|
| HandleScope scope(isolate);
|
| - THROW_NEW_ERROR_RETURN_FAILURE(
|
| - isolate,
|
| - NewTypeError("strict_poison_pill", HandleVector<Object>(NULL, 0)));
|
| + THROW_NEW_ERROR_RETURN_FAILURE(isolate,
|
| + NewTypeError("restricted_function_properties",
|
| + HandleVector<Object>(NULL, 0)));
|
| }
|
|
|
|
|
| -BUILTIN(GeneratorPoisonPill) {
|
| +BUILTIN(RestrictedStrictArgumentsPropertiesThrower) {
|
| HandleScope scope(isolate);
|
| THROW_NEW_ERROR_RETURN_FAILURE(
|
| isolate,
|
| - NewTypeError("generator_poison_pill", HandleVector<Object>(NULL, 0)));
|
| + NewTypeError("strict_poison_pill", HandleVector<Object>(NULL, 0)));
|
| }
|
|
|
|
|
|
|