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

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

Issue 1230753004: [Interpreter] Add BytecodeArray class and add to SharedFunctionInfo. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use BytecodeArray in bytecode emission path in interpreter. Created 5 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
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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/disasm.h" 7 #include "src/disasm.h"
8 #include "src/disassembler.h" 8 #include "src/disassembler.h"
9 #include "src/heap/objects-visiting.h" 9 #include "src/heap/objects-visiting.h"
10 #include "src/jsregexp.h" 10 #include "src/jsregexp.h"
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 next_function_link()->IsJSFunction()); 532 next_function_link()->IsJSFunction());
533 } 533 }
534 534
535 535
536 void SharedFunctionInfo::SharedFunctionInfoVerify() { 536 void SharedFunctionInfo::SharedFunctionInfoVerify() {
537 CHECK(IsSharedFunctionInfo()); 537 CHECK(IsSharedFunctionInfo());
538 VerifyObjectField(kNameOffset); 538 VerifyObjectField(kNameOffset);
539 VerifyObjectField(kCodeOffset); 539 VerifyObjectField(kCodeOffset);
540 VerifyObjectField(kOptimizedCodeMapOffset); 540 VerifyObjectField(kOptimizedCodeMapOffset);
541 VerifyObjectField(kFeedbackVectorOffset); 541 VerifyObjectField(kFeedbackVectorOffset);
542 VerifyObjectField(kBytecodeArrayOffset);
542 VerifyObjectField(kScopeInfoOffset); 543 VerifyObjectField(kScopeInfoOffset);
543 VerifyObjectField(kInstanceClassNameOffset); 544 VerifyObjectField(kInstanceClassNameOffset);
544 VerifyObjectField(kFunctionDataOffset); 545 VerifyObjectField(kFunctionDataOffset);
545 VerifyObjectField(kScriptOffset); 546 VerifyObjectField(kScriptOffset);
546 VerifyObjectField(kDebugInfoOffset); 547 VerifyObjectField(kDebugInfoOffset);
547 } 548 }
548 549
549 550
550 void JSGlobalProxy::JSGlobalProxyVerify() { 551 void JSGlobalProxy::JSGlobalProxyVerify() {
551 CHECK(IsJSGlobalProxy()); 552 CHECK(IsJSGlobalProxy());
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 : it.rinfo()->target_object(); 1274 : it.rinfo()->target_object();
1274 CHECK(!CanLeak(target, heap, skip_weak_cell)); 1275 CHECK(!CanLeak(target, heap, skip_weak_cell));
1275 } 1276 }
1276 } 1277 }
1277 1278
1278 1279
1279 #endif // DEBUG 1280 #endif // DEBUG
1280 1281
1281 } // namespace internal 1282 } // namespace internal
1282 } // namespace v8 1283 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698