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

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

Issue 10387210: Fix GCC 4.7 (C++11) compilation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 7 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/profile-generator.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 1666 matching lines...) Expand 10 before | Expand all | Expand 10 after
1677 value = *reinterpret_cast<uint32_t*>(data + 1); 1677 value = *reinterpret_cast<uint32_t*>(data + 1);
1678 data += 5; 1678 data += 5;
1679 break; 1679 break;
1680 case QUADWORD_SIZE: 1680 case QUADWORD_SIZE:
1681 value = *reinterpret_cast<int32_t*>(data + 1); 1681 value = *reinterpret_cast<int32_t*>(data + 1);
1682 data += 5; 1682 data += 5;
1683 break; 1683 break;
1684 default: 1684 default:
1685 UNREACHABLE(); 1685 UNREACHABLE();
1686 } 1686 }
1687 AppendToBuffer("test%c rax,0x%"V8_PTR_PREFIX"x", 1687 AppendToBuffer("test%c rax,0x%" V8_PTR_PREFIX "x",
1688 operand_size_code(), 1688 operand_size_code(),
1689 value); 1689 value);
1690 break; 1690 break;
1691 } 1691 }
1692 case 0xD1: // fall through 1692 case 0xD1: // fall through
1693 case 0xD3: // fall through 1693 case 0xD3: // fall through
1694 case 0xC1: 1694 case 0xC1:
1695 data += ShiftInstruction(data); 1695 data += ShiftInstruction(data);
1696 break; 1696 break;
1697 case 0xD0: // fall through 1697 case 0xD0: // fall through
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
1845 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { 1845 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) {
1846 fprintf(f, " "); 1846 fprintf(f, " ");
1847 } 1847 }
1848 fprintf(f, " %s\n", buffer.start()); 1848 fprintf(f, " %s\n", buffer.start());
1849 } 1849 }
1850 } 1850 }
1851 1851
1852 } // namespace disasm 1852 } // namespace disasm
1853 1853
1854 #endif // V8_TARGET_ARCH_X64 1854 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/profile-generator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698