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 PrintF("\n - this_property_assignments = "); | 782 PrintF("\n - this_property_assignments = "); |
783 this_property_assignments()->ShortPrint(); | 783 this_property_assignments()->ShortPrint(); |
784 PrintF("\n"); | 784 PrintF("\n"); |
785 } | 785 } |
786 | 786 |
787 void SharedFunctionInfo::SharedFunctionInfoVerify() { | 787 void SharedFunctionInfo::SharedFunctionInfoVerify() { |
788 CHECK(IsSharedFunctionInfo()); | 788 CHECK(IsSharedFunctionInfo()); |
789 VerifyObjectField(kNameOffset); | 789 VerifyObjectField(kNameOffset); |
790 VerifyObjectField(kCodeOffset); | 790 VerifyObjectField(kCodeOffset); |
791 VerifyObjectField(kInstanceClassNameOffset); | 791 VerifyObjectField(kInstanceClassNameOffset); |
792 VerifyObjectField(kExternalReferenceDataOffset); | 792 VerifyObjectField(kFunctionDataOffset); |
793 VerifyObjectField(kScriptOffset); | 793 VerifyObjectField(kScriptOffset); |
794 VerifyObjectField(kDebugInfoOffset); | 794 VerifyObjectField(kDebugInfoOffset); |
795 } | 795 } |
796 | 796 |
797 | 797 |
798 void JSGlobalProxy::JSGlobalProxyPrint() { | 798 void JSGlobalProxy::JSGlobalProxyPrint() { |
799 PrintF("global_proxy"); | 799 PrintF("global_proxy"); |
800 JSObjectPrint(); | 800 JSObjectPrint(); |
801 PrintF("context : "); | 801 PrintF("context : "); |
802 context()->ShortPrint(); | 802 context()->ShortPrint(); |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1328 } | 1328 } |
1329 current = hash; | 1329 current = hash; |
1330 } | 1330 } |
1331 return true; | 1331 return true; |
1332 } | 1332 } |
1333 | 1333 |
1334 | 1334 |
1335 #endif // DEBUG | 1335 #endif // DEBUG |
1336 | 1336 |
1337 } } // namespace v8::internal | 1337 } } // namespace v8::internal |
OLD | NEW |