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

Side by Side Diff: src/ia32/disasm-ia32.cc

Issue 8971002: Fix GCC 4.7 warnings: (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Fix GCC 4.7 warnings: Created 9 years 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/debug.cc ('k') | src/ic.cc » ('j') | src/ic.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 } 455 }
456 break; 456 break;
457 case 3: 457 case 3:
458 AppendToBuffer("%s", (this->*register_name)(rm)); 458 AppendToBuffer("%s", (this->*register_name)(rm));
459 return 1; 459 return 1;
460 default: 460 default:
461 UnimplementedInstruction(); 461 UnimplementedInstruction();
462 return 1; 462 return 1;
463 } 463 }
464 UNREACHABLE(); 464 UNREACHABLE();
465 return 1;
Vyacheslav Egorov (Chromium) 2011/12/20 15:45:14 what kind of warning do you get here? this return
465 } 466 }
466 467
467 468
468 int DisassemblerIA32::PrintRightOperand(byte* modrmp) { 469 int DisassemblerIA32::PrintRightOperand(byte* modrmp) {
469 return PrintRightOperandHelper(modrmp, &DisassemblerIA32::NameOfCPURegister); 470 return PrintRightOperandHelper(modrmp, &DisassemblerIA32::NameOfCPURegister);
470 } 471 }
471 472
472 473
473 int DisassemblerIA32::PrintRightByteOperand(byte* modrmp) { 474 int DisassemblerIA32::PrintRightByteOperand(byte* modrmp) {
474 return PrintRightOperandHelper(modrmp, 475 return PrintRightOperandHelper(modrmp,
(...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after
1690 fprintf(f, " "); 1691 fprintf(f, " ");
1691 } 1692 }
1692 fprintf(f, " %s\n", buffer.start()); 1693 fprintf(f, " %s\n", buffer.start());
1693 } 1694 }
1694 } 1695 }
1695 1696
1696 1697
1697 } // namespace disasm 1698 } // namespace disasm
1698 1699
1699 #endif // V8_TARGET_ARCH_IA32 1700 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/ic.cc » ('j') | src/ic.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698