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

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

Issue 1292753007: [es6] Parameter scopes for sloppy eval (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Comments Created 5 years, 4 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/macro-assembler.h" 10 #include "src/macro-assembler.h"
(...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 } 878 }
879 879
880 880
881 void AccessorInfo::AccessorInfoVerify() { 881 void AccessorInfo::AccessorInfoVerify() {
882 VerifyPointer(name()); 882 VerifyPointer(name());
883 VerifyPointer(flag()); 883 VerifyPointer(flag());
884 VerifyPointer(expected_receiver_type()); 884 VerifyPointer(expected_receiver_type());
885 } 885 }
886 886
887 887
888 void SloppyBlockWithEvalContextExtension::
889 SloppyBlockWithEvalContextExtensionVerify() {
890 CHECK(IsSloppyBlockWithEvalContextExtension());
891 VerifyObjectField(kScopeInfoOffset);
892 VerifyObjectField(kExtensionOffset);
893 }
894
895
888 void ExecutableAccessorInfo::ExecutableAccessorInfoVerify() { 896 void ExecutableAccessorInfo::ExecutableAccessorInfoVerify() {
889 CHECK(IsExecutableAccessorInfo()); 897 CHECK(IsExecutableAccessorInfo());
890 AccessorInfoVerify(); 898 AccessorInfoVerify();
891 VerifyPointer(getter()); 899 VerifyPointer(getter());
892 VerifyPointer(setter()); 900 VerifyPointer(setter());
893 VerifyPointer(data()); 901 VerifyPointer(data());
894 } 902 }
895 903
896 904
897 void AccessorPair::AccessorPairVerify() { 905 void AccessorPair::AccessorPairVerify() {
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
1304 1312
1305 // Both are done at the same time. 1313 // Both are done at the same time.
1306 CHECK_EQ(new_it.done(), old_it.done()); 1314 CHECK_EQ(new_it.done(), old_it.done());
1307 } 1315 }
1308 1316
1309 1317
1310 #endif // DEBUG 1318 #endif // DEBUG
1311 1319
1312 } // namespace internal 1320 } // namespace internal
1313 } // namespace v8 1321 } // 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