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

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

Issue 1563213002: Type Feedback Vector lives in the closure (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. Created 4 years, 11 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/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/macro-assembler.h" 10 #include "src/macro-assembler.h"
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 next_function_link()->IsJSFunction()); 571 next_function_link()->IsJSFunction());
572 CHECK(map()->is_callable()); 572 CHECK(map()->is_callable());
573 } 573 }
574 574
575 575
576 void SharedFunctionInfo::SharedFunctionInfoVerify() { 576 void SharedFunctionInfo::SharedFunctionInfoVerify() {
577 CHECK(IsSharedFunctionInfo()); 577 CHECK(IsSharedFunctionInfo());
578 VerifyObjectField(kNameOffset); 578 VerifyObjectField(kNameOffset);
579 VerifyObjectField(kCodeOffset); 579 VerifyObjectField(kCodeOffset);
580 VerifyObjectField(kOptimizedCodeMapOffset); 580 VerifyObjectField(kOptimizedCodeMapOffset);
581 VerifyObjectField(kFeedbackVectorOffset); 581 VerifyObjectField(kFeedbackMetadataOffset);
582 VerifyObjectField(kScopeInfoOffset); 582 VerifyObjectField(kScopeInfoOffset);
583 VerifyObjectField(kInstanceClassNameOffset); 583 VerifyObjectField(kInstanceClassNameOffset);
584 CHECK(function_data()->IsUndefined() || IsApiFunction() || 584 CHECK(function_data()->IsUndefined() || IsApiFunction() ||
585 HasBuiltinFunctionId() || HasBytecodeArray()); 585 HasBuiltinFunctionId() || HasBytecodeArray());
586 VerifyObjectField(kFunctionDataOffset); 586 VerifyObjectField(kFunctionDataOffset);
587 VerifyObjectField(kScriptOffset); 587 VerifyObjectField(kScriptOffset);
588 VerifyObjectField(kDebugInfoOffset); 588 VerifyObjectField(kDebugInfoOffset);
589 } 589 }
590 590
591 591
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 1333
1334 // Both are done at the same time. 1334 // Both are done at the same time.
1335 CHECK_EQ(new_it.done(), old_it.done()); 1335 CHECK_EQ(new_it.done(), old_it.done());
1336 } 1336 }
1337 1337
1338 1338
1339 #endif // DEBUG 1339 #endif // DEBUG
1340 1340
1341 } // namespace internal 1341 } // namespace internal
1342 } // namespace v8 1342 } // namespace v8
OLDNEW
« src/crankshaft/hydrogen.cc ('K') | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698