Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Side by Side Diff: src/objects-body-descriptors-inl.h

Issue 1448933002: Introduce a BuiltinsConstructStub that sets up new.target and does a [[call]] per ES6 9.3.2 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/objects.cc ('k') | src/objects-debug.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #ifndef V8_OBJECTS_BODY_DESCRIPTORS_INL_H_ 5 #ifndef V8_OBJECTS_BODY_DESCRIPTORS_INL_H_
6 #define V8_OBJECTS_BODY_DESCRIPTORS_INL_H_ 6 #define V8_OBJECTS_BODY_DESCRIPTORS_INL_H_
7 7
8 #include "src/objects-body-descriptors.h" 8 #include "src/objects-body-descriptors.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 UNREACHABLE(); 462 UNREACHABLE();
463 return ReturnType(); 463 return ReturnType();
464 } 464 }
465 465
466 switch (type) { 466 switch (type) {
467 case FIXED_ARRAY_TYPE: 467 case FIXED_ARRAY_TYPE:
468 return Op::template apply<FixedArray::BodyDescriptor>(p1, p2, p3); 468 return Op::template apply<FixedArray::BodyDescriptor>(p1, p2, p3);
469 case FIXED_DOUBLE_ARRAY_TYPE: 469 case FIXED_DOUBLE_ARRAY_TYPE:
470 return ReturnType(); 470 return ReturnType();
471 case JS_OBJECT_TYPE: 471 case JS_OBJECT_TYPE:
472 case JS_PROMISE_TYPE:
472 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: 473 case JS_CONTEXT_EXTENSION_OBJECT_TYPE:
473 case JS_GENERATOR_OBJECT_TYPE: 474 case JS_GENERATOR_OBJECT_TYPE:
474 case JS_MODULE_TYPE: 475 case JS_MODULE_TYPE:
475 case JS_VALUE_TYPE: 476 case JS_VALUE_TYPE:
476 case JS_DATE_TYPE: 477 case JS_DATE_TYPE:
477 case JS_ARRAY_TYPE: 478 case JS_ARRAY_TYPE:
478 case JS_TYPED_ARRAY_TYPE: 479 case JS_TYPED_ARRAY_TYPE:
479 case JS_DATA_VIEW_TYPE: 480 case JS_DATA_VIEW_TYPE:
480 case JS_SET_TYPE: 481 case JS_SET_TYPE:
481 case JS_MAP_TYPE: 482 case JS_MAP_TYPE:
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 575
575 template <typename ObjectVisitor> 576 template <typename ObjectVisitor>
576 void HeapObject::IterateBodyFast(InstanceType type, int object_size, 577 void HeapObject::IterateBodyFast(InstanceType type, int object_size,
577 ObjectVisitor* v) { 578 ObjectVisitor* v) {
578 BodyDescriptorApply<CallIterateBody, void>(type, this, object_size, v); 579 BodyDescriptorApply<CallIterateBody, void>(type, this, object_size, v);
579 } 580 }
580 } // namespace internal 581 } // namespace internal
581 } // namespace v8 582 } // namespace v8
582 583
583 #endif // V8_OBJECTS_BODY_DESCRIPTORS_INL_H_ 584 #endif // V8_OBJECTS_BODY_DESCRIPTORS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/objects-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698