OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 has_only_simple_this_property_assignments()); | 782 has_only_simple_this_property_assignments()); |
783 PrintF("\n - this_property_assignments = "); | 783 PrintF("\n - this_property_assignments = "); |
784 this_property_assignments()->ShortPrint(); | 784 this_property_assignments()->ShortPrint(); |
785 PrintF("\n"); | 785 PrintF("\n"); |
786 } | 786 } |
787 | 787 |
788 void SharedFunctionInfo::SharedFunctionInfoVerify() { | 788 void SharedFunctionInfo::SharedFunctionInfoVerify() { |
789 CHECK(IsSharedFunctionInfo()); | 789 CHECK(IsSharedFunctionInfo()); |
790 VerifyObjectField(kNameOffset); | 790 VerifyObjectField(kNameOffset); |
791 VerifyObjectField(kCodeOffset); | 791 VerifyObjectField(kCodeOffset); |
| 792 VerifyObjectField(kScopeInfoOffset); |
792 VerifyObjectField(kInstanceClassNameOffset); | 793 VerifyObjectField(kInstanceClassNameOffset); |
793 VerifyObjectField(kFunctionDataOffset); | 794 VerifyObjectField(kFunctionDataOffset); |
794 VerifyObjectField(kScriptOffset); | 795 VerifyObjectField(kScriptOffset); |
795 VerifyObjectField(kDebugInfoOffset); | 796 VerifyObjectField(kDebugInfoOffset); |
796 } | 797 } |
797 | 798 |
798 | 799 |
799 void JSGlobalProxy::JSGlobalProxyPrint() { | 800 void JSGlobalProxy::JSGlobalProxyPrint() { |
800 PrintF("global_proxy"); | 801 PrintF("global_proxy"); |
801 JSObjectPrint(); | 802 JSObjectPrint(); |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1356 ASSERT(get(i)->IsTheHole()); | 1357 ASSERT(get(i)->IsTheHole()); |
1357 get(i)->Verify(); | 1358 get(i)->Verify(); |
1358 } | 1359 } |
1359 } | 1360 } |
1360 } | 1361 } |
1361 | 1362 |
1362 | 1363 |
1363 #endif // DEBUG | 1364 #endif // DEBUG |
1364 | 1365 |
1365 } } // namespace v8::internal | 1366 } } // namespace v8::internal |
OLD | NEW |