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

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

Issue 1912103002: [wasm] Store function names in the wasm object (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@wasm-offset-table-2
Patch Set: fix gcmole and signed/unsigned comparison issue Created 4 years, 8 months 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
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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 case JS_MAP_TYPE: 469 case JS_MAP_TYPE:
470 case JS_SET_ITERATOR_TYPE: 470 case JS_SET_ITERATOR_TYPE:
471 case JS_MAP_ITERATOR_TYPE: 471 case JS_MAP_ITERATOR_TYPE:
472 case JS_REGEXP_TYPE: 472 case JS_REGEXP_TYPE:
473 case JS_GLOBAL_PROXY_TYPE: 473 case JS_GLOBAL_PROXY_TYPE:
474 case JS_GLOBAL_OBJECT_TYPE: 474 case JS_GLOBAL_OBJECT_TYPE:
475 case JS_API_OBJECT_TYPE: 475 case JS_API_OBJECT_TYPE:
476 case JS_SPECIAL_API_OBJECT_TYPE: 476 case JS_SPECIAL_API_OBJECT_TYPE:
477 case JS_MESSAGE_OBJECT_TYPE: 477 case JS_MESSAGE_OBJECT_TYPE:
478 case JS_BOUND_FUNCTION_TYPE: 478 case JS_BOUND_FUNCTION_TYPE:
479 case JS_WASM_TYPE:
479 return Op::template apply<JSObject::BodyDescriptor>(p1, p2, p3); 480 return Op::template apply<JSObject::BodyDescriptor>(p1, p2, p3);
480 case JS_WEAK_MAP_TYPE: 481 case JS_WEAK_MAP_TYPE:
481 case JS_WEAK_SET_TYPE: 482 case JS_WEAK_SET_TYPE:
482 return Op::template apply<JSWeakCollection::BodyDescriptor>(p1, p2, p3); 483 return Op::template apply<JSWeakCollection::BodyDescriptor>(p1, p2, p3);
483 case JS_ARRAY_BUFFER_TYPE: 484 case JS_ARRAY_BUFFER_TYPE:
484 return Op::template apply<JSArrayBuffer::BodyDescriptor>(p1, p2, p3); 485 return Op::template apply<JSArrayBuffer::BodyDescriptor>(p1, p2, p3);
485 case JS_FUNCTION_TYPE: 486 case JS_FUNCTION_TYPE:
486 return Op::template apply<JSFunction::BodyDescriptor>(p1, p2, p3); 487 return Op::template apply<JSFunction::BodyDescriptor>(p1, p2, p3);
487 case ODDBALL_TYPE: 488 case ODDBALL_TYPE:
488 return Op::template apply<Oddball::BodyDescriptor>(p1, p2, p3); 489 return Op::template apply<Oddball::BodyDescriptor>(p1, p2, p3);
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 563
563 template <typename ObjectVisitor> 564 template <typename ObjectVisitor>
564 void HeapObject::IterateBodyFast(InstanceType type, int object_size, 565 void HeapObject::IterateBodyFast(InstanceType type, int object_size,
565 ObjectVisitor* v) { 566 ObjectVisitor* v) {
566 BodyDescriptorApply<CallIterateBody, void>(type, this, object_size, v); 567 BodyDescriptorApply<CallIterateBody, void>(type, this, object_size, v);
567 } 568 }
568 } // namespace internal 569 } // namespace internal
569 } // namespace v8 570 } // namespace v8
570 571
571 #endif // V8_OBJECTS_BODY_DESCRIPTORS_INL_H_ 572 #endif // V8_OBJECTS_BODY_DESCRIPTORS_INL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698