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

Side by Side Diff: src/assembler.cc

Issue 3432032: Fix test after 64 bit heap size change. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 2 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/arm/simulator-arm.cc ('k') | src/contexts.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 UNREACHABLE(); 458 UNREACHABLE();
459 return "number_of_modes"; 459 return "number_of_modes";
460 } 460 }
461 return "unknown relocation type"; 461 return "unknown relocation type";
462 } 462 }
463 463
464 464
465 void RelocInfo::Print() { 465 void RelocInfo::Print() {
466 PrintF("%p %s", pc_, RelocModeName(rmode_)); 466 PrintF("%p %s", pc_, RelocModeName(rmode_));
467 if (IsComment(rmode_)) { 467 if (IsComment(rmode_)) {
468 PrintF(" (%s)", data_); 468 PrintF(" (%s)", reinterpret_cast<char*>(data_));
469 } else if (rmode_ == EMBEDDED_OBJECT) { 469 } else if (rmode_ == EMBEDDED_OBJECT) {
470 PrintF(" ("); 470 PrintF(" (");
471 target_object()->ShortPrint(); 471 target_object()->ShortPrint();
472 PrintF(")"); 472 PrintF(")");
473 } else if (rmode_ == EXTERNAL_REFERENCE) { 473 } else if (rmode_ == EXTERNAL_REFERENCE) {
474 ExternalReferenceEncoder ref_encoder; 474 ExternalReferenceEncoder ref_encoder;
475 PrintF(" (%s) (%p)", 475 PrintF(" (%s) (%p)",
476 ref_encoder.NameOfAddress(*target_reference_address()), 476 ref_encoder.NameOfAddress(*target_reference_address()),
477 *target_reference_address()); 477 *target_reference_address());
478 } else if (IsCodeTarget(rmode_)) { 478 } else if (IsCodeTarget(rmode_)) {
479 Code* code = Code::GetCodeFromTargetAddress(target_address()); 479 Code* code = Code::GetCodeFromTargetAddress(target_address());
480 PrintF(" (%s) (%p)", Code::Kind2String(code->kind()), target_address()); 480 PrintF(" (%s) (%p)", Code::Kind2String(code->kind()), target_address());
481 } else if (IsPosition(rmode_)) { 481 } else if (IsPosition(rmode_)) {
482 PrintF(" (%d)", data()); 482 PrintF(" (%" V8_PTR_PREFIX "d)", data());
483 } 483 }
484 484
485 PrintF("\n"); 485 PrintF("\n");
486 } 486 }
487 #endif // ENABLE_DISASSEMBLER 487 #endif // ENABLE_DISASSEMBLER
488 488
489 489
490 #ifdef DEBUG 490 #ifdef DEBUG
491 void RelocInfo::Verify() { 491 void RelocInfo::Verify() {
492 switch (rmode_) { 492 switch (rmode_) {
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); 792 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break)));
793 } 793 }
794 794
795 795
796 ExternalReference ExternalReference::debug_step_in_fp_address() { 796 ExternalReference ExternalReference::debug_step_in_fp_address() {
797 return ExternalReference(Debug::step_in_fp_addr()); 797 return ExternalReference(Debug::step_in_fp_addr());
798 } 798 }
799 #endif 799 #endif
800 800
801 } } // namespace v8::internal 801 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/simulator-arm.cc ('k') | src/contexts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698