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

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

Issue 40290: Experimental: Merge 1395:1441 from bleeding_edge branch to the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/global/
Patch Set: Created 11 years, 9 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/parser.cc » ('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 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 668
669 669
670 void JSGlobalPropertyCell::JSGlobalPropertyCellPrint() { 670 void JSGlobalPropertyCell::JSGlobalPropertyCellPrint() {
671 HeapObject::PrintHeader("JSGlobalPropertyCell"); 671 HeapObject::PrintHeader("JSGlobalPropertyCell");
672 } 672 }
673 673
674 674
675 void Code::CodePrint() { 675 void Code::CodePrint() {
676 HeapObject::PrintHeader("Code"); 676 HeapObject::PrintHeader("Code");
677 #ifdef ENABLE_DISASSEMBLER 677 #ifdef ENABLE_DISASSEMBLER
678 Disassemble(); 678 Disassemble(NULL);
679 #endif 679 #endif
680 } 680 }
681 681
682 682
683 void Code::CodeVerify() { 683 void Code::CodeVerify() {
684 CHECK(ic_flag() == IC_TARGET_IS_ADDRESS); 684 CHECK(ic_flag() == IC_TARGET_IS_ADDRESS);
685 CHECK(IsAligned(reinterpret_cast<intptr_t>(instruction_start()), 685 CHECK(IsAligned(reinterpret_cast<intptr_t>(instruction_start()),
686 static_cast<intptr_t>(kCodeAlignment))); 686 static_cast<intptr_t>(kCodeAlignment)));
687 Address last_gc_pc = NULL; 687 Address last_gc_pc = NULL;
688 for (RelocIterator it(this); !it.done(); it.next()) { 688 for (RelocIterator it(this); !it.done(); it.next()) {
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 } 1094 }
1095 current = hash; 1095 current = hash;
1096 } 1096 }
1097 return true; 1097 return true;
1098 } 1098 }
1099 1099
1100 1100
1101 #endif // DEBUG 1101 #endif // DEBUG
1102 1102
1103 } } // namespace v8::internal 1103 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698