Chromium Code Reviews

Side by Side Diff: src/code-factory.cc

Issue 2810363003: [builtins] Introduce DeleteProperty builtin (Closed)
Patch Set: ready for review Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/code-factory.h" 5 #include "src/code-factory.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/builtins/builtins-descriptors.h" 8 #include "src/builtins/builtins-descriptors.h"
9 #include "src/ic/ic.h" 9 #include "src/ic/ic.h"
10 #include "src/objects-inl.h" 10 #include "src/objects-inl.h"
(...skipping 290 matching lines...)
301 TFS_BUILTIN(StringCharAt) 301 TFS_BUILTIN(StringCharAt)
302 TFS_BUILTIN(StringCharCodeAt) 302 TFS_BUILTIN(StringCharCodeAt)
303 TFS_BUILTIN(StringEqual) 303 TFS_BUILTIN(StringEqual)
304 TFS_BUILTIN(StringLessThan) 304 TFS_BUILTIN(StringLessThan)
305 TFS_BUILTIN(StringLessThanOrEqual) 305 TFS_BUILTIN(StringLessThanOrEqual)
306 TFS_BUILTIN(StringGreaterThan) 306 TFS_BUILTIN(StringGreaterThan)
307 TFS_BUILTIN(StringGreaterThanOrEqual) 307 TFS_BUILTIN(StringGreaterThanOrEqual)
308 TFS_BUILTIN(AsyncGeneratorResolve) 308 TFS_BUILTIN(AsyncGeneratorResolve)
309 TFS_BUILTIN(AsyncGeneratorReject) 309 TFS_BUILTIN(AsyncGeneratorReject)
310 TFS_BUILTIN(AsyncGeneratorResumeNext) 310 TFS_BUILTIN(AsyncGeneratorResumeNext)
311 TFS_BUILTIN(DeleteProperty)
311 312
312 #undef TFS_BUILTIN 313 #undef TFS_BUILTIN
313 314
314 // static 315 // static
315 Callable CodeFactory::StringAdd(Isolate* isolate, StringAddFlags flags, 316 Callable CodeFactory::StringAdd(Isolate* isolate, StringAddFlags flags,
316 PretenureFlag pretenure_flag) { 317 PretenureFlag pretenure_flag) {
317 StringAddStub stub(isolate, flags, pretenure_flag); 318 StringAddStub stub(isolate, flags, pretenure_flag);
318 return make_callable(stub); 319 return make_callable(stub);
319 } 320 }
320 321
(...skipping 232 matching lines...)
553 } 554 }
554 555
555 // static 556 // static
556 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { 557 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
557 return Callable(isolate->builtins()->FunctionPrototypeBind(), 558 return Callable(isolate->builtins()->FunctionPrototypeBind(),
558 BuiltinDescriptor(isolate)); 559 BuiltinDescriptor(isolate));
559 } 560 }
560 561
561 } // namespace internal 562 } // namespace internal
562 } // namespace v8 563 } // namespace v8
OLDNEW

Powered by Google App Engine