Chromium Code Reviews| Index: src/builtins/builtins-object.cc |
| diff --git a/src/builtins/builtins-object.cc b/src/builtins/builtins-object.cc |
| index 8be615013c9ee8b17739790f3797e975361eff43..e2837031808e74be3324b2b1cb06988a38777c8c 100644 |
| --- a/src/builtins/builtins-object.cc |
| +++ b/src/builtins/builtins-object.cc |
| @@ -79,6 +79,17 @@ BUILTIN(ObjectDefineProperty) { |
| return JSReceiver::DefineProperty(isolate, target, key, attributes); |
| } |
| +BUILTIN(ObjectDefinePropertyWithoutInterceptors) { |
|
Franzi
2017/04/12 08:58:17
Do we need this builtin?
|
| + HandleScope scope(isolate); |
| + DCHECK_EQ(4, args.length()); |
| + Handle<Object> target = args.at(1); |
| + Handle<Object> key = args.at(2); |
| + Handle<Object> attributes = args.at(3); |
| + |
| + return JSReceiver::DefinePropertyWithoutInterceptors(isolate, target, key, |
| + attributes); |
| +} |
| + |
| namespace { |
| template <AccessorComponent which_accessor> |