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

Side by Side Diff: src/objects-debug.cc

Issue 2964943002: [wasm] Introduce instance types for WebAssembly.* objects. (Closed)
Patch Set: Address rossberg comments. Created 3 years, 5 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
« no previous file with comments | « src/objects-body-descriptors-inl.h ('k') | src/objects-inl.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/objects.h" 5 #include "src/objects.h"
6 6
7 #include "src/assembler-inl.h" 7 #include "src/assembler-inl.h"
8 #include "src/bootstrapper.h" 8 #include "src/bootstrapper.h"
9 #include "src/disasm.h" 9 #include "src/disasm.h"
10 #include "src/disassembler.h" 10 #include "src/disassembler.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 Code::cast(this)->CodeVerify(); 103 Code::cast(this)->CodeVerify();
104 break; 104 break;
105 case ODDBALL_TYPE: 105 case ODDBALL_TYPE:
106 Oddball::cast(this)->OddballVerify(); 106 Oddball::cast(this)->OddballVerify();
107 break; 107 break;
108 case JS_OBJECT_TYPE: 108 case JS_OBJECT_TYPE:
109 case JS_ERROR_TYPE: 109 case JS_ERROR_TYPE:
110 case JS_API_OBJECT_TYPE: 110 case JS_API_OBJECT_TYPE:
111 case JS_SPECIAL_API_OBJECT_TYPE: 111 case JS_SPECIAL_API_OBJECT_TYPE:
112 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: 112 case JS_CONTEXT_EXTENSION_OBJECT_TYPE:
113 case WASM_INSTANCE_TYPE:
114 case WASM_MEMORY_TYPE:
115 case WASM_MODULE_TYPE:
116 case WASM_TABLE_TYPE:
113 JSObject::cast(this)->JSObjectVerify(); 117 JSObject::cast(this)->JSObjectVerify();
114 break; 118 break;
115 case JS_ARGUMENTS_TYPE: 119 case JS_ARGUMENTS_TYPE:
116 JSArgumentsObject::cast(this)->JSArgumentsObjectVerify(); 120 JSArgumentsObject::cast(this)->JSArgumentsObjectVerify();
117 break; 121 break;
118 case JS_GENERATOR_OBJECT_TYPE: 122 case JS_GENERATOR_OBJECT_TYPE:
119 JSGeneratorObject::cast(this)->JSGeneratorObjectVerify(); 123 JSGeneratorObject::cast(this)->JSGeneratorObjectVerify();
120 break; 124 break;
121 case JS_ASYNC_GENERATOR_OBJECT_TYPE: 125 case JS_ASYNC_GENERATOR_OBJECT_TYPE:
122 JSAsyncGeneratorObject::cast(this)->JSAsyncGeneratorObjectVerify(); 126 JSAsyncGeneratorObject::cast(this)->JSAsyncGeneratorObjectVerify();
(...skipping 1593 matching lines...) Expand 10 before | Expand all | Expand 10 after
1716 1720
1717 // Both are done at the same time. 1721 // Both are done at the same time.
1718 CHECK_EQ(new_it.done(), old_it.done()); 1722 CHECK_EQ(new_it.done(), old_it.done());
1719 } 1723 }
1720 1724
1721 1725
1722 #endif // DEBUG 1726 #endif // DEBUG
1723 1727
1724 } // namespace internal 1728 } // namespace internal
1725 } // namespace v8 1729 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-body-descriptors-inl.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698