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

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

Issue 1783483002: [interpreter] Add support for scalable operands. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Re-generate golden files. Created 4 years, 9 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.cc ('k') | src/runtime/runtime-interpreter.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 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/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/disasm.h" 8 #include "src/disasm.h"
9 #include "src/disassembler.h" 9 #include "src/disassembler.h"
10 #include "src/field-type.h" 10 #include "src/field-type.h"
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 void Simd128Value::Simd128ValueVerify() { CHECK(IsSimd128Value()); } 222 void Simd128Value::Simd128ValueVerify() { CHECK(IsSimd128Value()); }
223 223
224 224
225 void ByteArray::ByteArrayVerify() { 225 void ByteArray::ByteArrayVerify() {
226 CHECK(IsByteArray()); 226 CHECK(IsByteArray());
227 } 227 }
228 228
229 229
230 void BytecodeArray::BytecodeArrayVerify() { 230 void BytecodeArray::BytecodeArrayVerify() {
231 // TODO(oth): Walk bytecodes and immediate values to validate sanity. 231 // TODO(oth): Walk bytecodes and immediate values to validate sanity.
232 // - All bytecodes are known and well formed.
233 // - Jumps must go to new instructions starts.
234 // - No Illegal bytecodes.
235 // - No consecutive sequences of prefix Wide / ExtraWide.
232 CHECK(IsBytecodeArray()); 236 CHECK(IsBytecodeArray());
233 CHECK(constant_pool()->IsFixedArray()); 237 CHECK(constant_pool()->IsFixedArray());
234 VerifyHeapPointer(constant_pool()); 238 VerifyHeapPointer(constant_pool());
235 } 239 }
236 240
237 241
238 void FreeSpace::FreeSpaceVerify() { 242 void FreeSpace::FreeSpaceVerify() {
239 CHECK(IsFreeSpace()); 243 CHECK(IsFreeSpace());
240 } 244 }
241 245
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1323 1327
1324 // Both are done at the same time. 1328 // Both are done at the same time.
1325 CHECK_EQ(new_it.done(), old_it.done()); 1329 CHECK_EQ(new_it.done(), old_it.done());
1326 } 1330 }
1327 1331
1328 1332
1329 #endif // DEBUG 1333 #endif // DEBUG
1330 1334
1331 } // namespace internal 1335 } // namespace internal
1332 } // namespace v8 1336 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698