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

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

Issue 390012: Push bleeding_edge revision 3267 to trunk.... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 11 years, 1 month 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 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 // Script files are often large, hard to read. 789 // Script files are often large, hard to read.
790 // PrintF("\n - script ="); 790 // PrintF("\n - script =");
791 // script()->Print(); 791 // script()->Print();
792 PrintF("\n - function token position = %d", function_token_position()); 792 PrintF("\n - function token position = %d", function_token_position());
793 PrintF("\n - start position = %d", start_position()); 793 PrintF("\n - start position = %d", start_position());
794 PrintF("\n - end position = %d", end_position()); 794 PrintF("\n - end position = %d", end_position());
795 PrintF("\n - is expression = %d", is_expression()); 795 PrintF("\n - is expression = %d", is_expression());
796 PrintF("\n - debug info = "); 796 PrintF("\n - debug info = ");
797 debug_info()->ShortPrint(); 797 debug_info()->ShortPrint();
798 PrintF("\n - length = %d", length()); 798 PrintF("\n - length = %d", length());
799 PrintF("\n - has_only_this_property_assignments = %d",
800 has_only_this_property_assignments());
801 PrintF("\n - has_only_simple_this_property_assignments = %d", 799 PrintF("\n - has_only_simple_this_property_assignments = %d",
802 has_only_simple_this_property_assignments()); 800 has_only_simple_this_property_assignments());
803 PrintF("\n - this_property_assignments = "); 801 PrintF("\n - this_property_assignments = ");
804 this_property_assignments()->ShortPrint(); 802 this_property_assignments()->ShortPrint();
805 PrintF("\n"); 803 PrintF("\n");
806 } 804 }
807 805
808 void SharedFunctionInfo::SharedFunctionInfoVerify() { 806 void SharedFunctionInfo::SharedFunctionInfoVerify() {
809 CHECK(IsSharedFunctionInfo()); 807 CHECK(IsSharedFunctionInfo());
810 VerifyObjectField(kNameOffset); 808 VerifyObjectField(kNameOffset);
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
1332 } 1330 }
1333 current = hash; 1331 current = hash;
1334 } 1332 }
1335 return true; 1333 return true;
1336 } 1334 }
1337 1335
1338 1336
1339 #endif // DEBUG 1337 #endif // DEBUG
1340 1338
1341 } } // namespace v8::internal 1339 } } // 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