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

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

Issue 1765713003: Reland "Speed up the LookupIterator" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: wrap in assertThrows 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-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/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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 TYPED_ARRAYS(VERIFY_TYPED_ARRAY) 92 TYPED_ARRAYS(VERIFY_TYPED_ARRAY)
93 #undef VERIFY_TYPED_ARRAY 93 #undef VERIFY_TYPED_ARRAY
94 94
95 case CODE_TYPE: 95 case CODE_TYPE:
96 Code::cast(this)->CodeVerify(); 96 Code::cast(this)->CodeVerify();
97 break; 97 break;
98 case ODDBALL_TYPE: 98 case ODDBALL_TYPE:
99 Oddball::cast(this)->OddballVerify(); 99 Oddball::cast(this)->OddballVerify();
100 break; 100 break;
101 case JS_OBJECT_TYPE: 101 case JS_OBJECT_TYPE:
102 case JS_SPECIAL_API_OBJECT_TYPE:
102 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: 103 case JS_CONTEXT_EXTENSION_OBJECT_TYPE:
103 case JS_PROMISE_TYPE: 104 case JS_PROMISE_TYPE:
104 JSObject::cast(this)->JSObjectVerify(); 105 JSObject::cast(this)->JSObjectVerify();
105 break; 106 break;
106 case JS_GENERATOR_OBJECT_TYPE: 107 case JS_GENERATOR_OBJECT_TYPE:
107 JSGeneratorObject::cast(this)->JSGeneratorObjectVerify(); 108 JSGeneratorObject::cast(this)->JSGeneratorObjectVerify();
108 break; 109 break;
109 case JS_MODULE_TYPE: 110 case JS_MODULE_TYPE:
110 JSModule::cast(this)->JSModuleVerify(); 111 JSModule::cast(this)->JSModuleVerify();
111 break; 112 break;
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after
1320 1321
1321 // Both are done at the same time. 1322 // Both are done at the same time.
1322 CHECK_EQ(new_it.done(), old_it.done()); 1323 CHECK_EQ(new_it.done(), old_it.done());
1323 } 1324 }
1324 1325
1325 1326
1326 #endif // DEBUG 1327 #endif // DEBUG
1327 1328
1328 } // namespace internal 1329 } // namespace internal
1329 } // namespace v8 1330 } // 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