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

Side by Side Diff: src/x64/disasm-x64.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
« src/ic.cc ('K') | « src/ic.cc ('k') | no next file » | no next file with comments »
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 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 } 541 }
542 break; 542 break;
543 case 3: 543 case 3:
544 AppendToBuffer("%s", (this->*register_name)(rm)); 544 AppendToBuffer("%s", (this->*register_name)(rm));
545 return 1; 545 return 1;
546 default: 546 default:
547 UnimplementedInstruction(); 547 UnimplementedInstruction();
548 return 1; 548 return 1;
549 } 549 }
550 UNREACHABLE(); 550 UNREACHABLE();
551 return 1;
Vyacheslav Egorov (Chromium) 2011/12/20 15:45:14 and the same question again (default is present an
551 } 552 }
552 553
553 554
554 int DisassemblerX64::PrintImmediate(byte* data, OperandSize size) { 555 int DisassemblerX64::PrintImmediate(byte* data, OperandSize size) {
555 int64_t value; 556 int64_t value;
556 int count; 557 int count;
557 switch (size) { 558 switch (size) {
558 case BYTE_SIZE: 559 case BYTE_SIZE:
559 value = *data; 560 value = *data;
560 count = 1; 561 count = 1;
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after
1841 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { 1842 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) {
1842 fprintf(f, " "); 1843 fprintf(f, " ");
1843 } 1844 }
1844 fprintf(f, " %s\n", buffer.start()); 1845 fprintf(f, " %s\n", buffer.start());
1845 } 1846 }
1846 } 1847 }
1847 1848
1848 } // namespace disasm 1849 } // namespace disasm
1849 1850
1850 #endif // V8_TARGET_ARCH_X64 1851 #endif // V8_TARGET_ARCH_X64
OLDNEW
« src/ic.cc ('K') | « src/ic.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698