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

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

Issue 1474353002: Remove easy to remove calls to Isolate::Current() from api.cc (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: update Created 5 years 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 950 matching lines...) Expand 10 before | Expand all | Expand 10 after
961 961
962 962
963 void ObjectTemplateInfo::ObjectTemplateInfoVerify() { 963 void ObjectTemplateInfo::ObjectTemplateInfoVerify() {
964 CHECK(IsObjectTemplateInfo()); 964 CHECK(IsObjectTemplateInfo());
965 TemplateInfoVerify(); 965 TemplateInfoVerify();
966 VerifyPointer(constructor()); 966 VerifyPointer(constructor());
967 VerifyPointer(internal_field_count()); 967 VerifyPointer(internal_field_count());
968 } 968 }
969 969
970 970
971 void TypeSwitchInfo::TypeSwitchInfoVerify() {
972 CHECK(IsTypeSwitchInfo());
973 VerifyPointer(types());
974 }
975
976
977 void AllocationSite::AllocationSiteVerify() { 971 void AllocationSite::AllocationSiteVerify() {
978 CHECK(IsAllocationSite()); 972 CHECK(IsAllocationSite());
979 } 973 }
980 974
981 975
982 void AllocationMemento::AllocationMementoVerify() { 976 void AllocationMemento::AllocationMementoVerify() {
983 CHECK(IsAllocationMemento()); 977 CHECK(IsAllocationMemento());
984 VerifyHeapPointer(allocation_site()); 978 VerifyHeapPointer(allocation_site());
985 CHECK(!IsValid() || GetAllocationSite()->IsAllocationSite()); 979 CHECK(!IsValid() || GetAllocationSite()->IsAllocationSite());
986 } 980 }
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 1302
1309 // Both are done at the same time. 1303 // Both are done at the same time.
1310 CHECK_EQ(new_it.done(), old_it.done()); 1304 CHECK_EQ(new_it.done(), old_it.done());
1311 } 1305 }
1312 1306
1313 1307
1314 #endif // DEBUG 1308 #endif // DEBUG
1315 1309
1316 } // namespace internal 1310 } // namespace internal
1317 } // namespace v8 1311 } // namespace v8
OLDNEW
« include/v8.h ('K') | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698