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

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

Issue 1906823002: Move of the type feedback vector to the closure. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 4 years, 6 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/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 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 next_function_link()->IsJSFunction()); 559 next_function_link()->IsJSFunction());
560 CHECK(map()->is_callable()); 560 CHECK(map()->is_callable());
561 } 561 }
562 562
563 563
564 void SharedFunctionInfo::SharedFunctionInfoVerify() { 564 void SharedFunctionInfo::SharedFunctionInfoVerify() {
565 CHECK(IsSharedFunctionInfo()); 565 CHECK(IsSharedFunctionInfo());
566 VerifyObjectField(kNameOffset); 566 VerifyObjectField(kNameOffset);
567 VerifyObjectField(kCodeOffset); 567 VerifyObjectField(kCodeOffset);
568 VerifyObjectField(kOptimizedCodeMapOffset); 568 VerifyObjectField(kOptimizedCodeMapOffset);
569 VerifyObjectField(kFeedbackVectorOffset); 569 VerifyObjectField(kFeedbackMetadataOffset);
570 VerifyObjectField(kScopeInfoOffset); 570 VerifyObjectField(kScopeInfoOffset);
571 VerifyObjectField(kInstanceClassNameOffset); 571 VerifyObjectField(kInstanceClassNameOffset);
572 CHECK(function_data()->IsUndefined() || IsApiFunction() || 572 CHECK(function_data()->IsUndefined() || IsApiFunction() ||
573 HasBuiltinFunctionId() || HasBytecodeArray()); 573 HasBuiltinFunctionId() || HasBytecodeArray());
574 VerifyObjectField(kFunctionDataOffset); 574 VerifyObjectField(kFunctionDataOffset);
575 VerifyObjectField(kScriptOffset); 575 VerifyObjectField(kScriptOffset);
576 VerifyObjectField(kDebugInfoOffset); 576 VerifyObjectField(kDebugInfoOffset);
577 } 577 }
578 578
579 579
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 1316
1317 // Both are done at the same time. 1317 // Both are done at the same time.
1318 CHECK_EQ(new_it.done(), old_it.done()); 1318 CHECK_EQ(new_it.done(), old_it.done());
1319 } 1319 }
1320 1320
1321 1321
1322 #endif // DEBUG 1322 #endif // DEBUG
1323 1323
1324 } // namespace internal 1324 } // namespace internal
1325 } // namespace v8 1325 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698