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

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

Issue 2918001: Move serialized scope info from Code object to SharedFunctionInfo. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 5 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 | Annotate | Revision Log
« 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 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
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
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
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