OLD | NEW |
---|---|
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 Loading... | |
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 Loading... | |
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 |
OLD | NEW |