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: runtime/vm/disassembler_ia32.cc

Issue 836593002: Deletion barrier: Distinguish+verify field initialization in ia32 generated code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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 | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/flow_graph_builder.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/disassembler.h" 5 #include "vm/disassembler.h"
6 6
7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32.
8 #if defined(TARGET_ARCH_IA32) 8 #if defined(TARGET_ARCH_IA32)
9 #include "platform/utils.h" 9 #include "platform/utils.h"
10 #include "vm/allocation.h" 10 #include "vm/allocation.h"
(...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 break; 1325 break;
1326 1326
1327 case 0xF6: 1327 case 0xF6:
1328 { int mod, regop, rm; 1328 { int mod, regop, rm;
1329 GetModRm(*(data+1), &mod, &regop, &rm); 1329 GetModRm(*(data+1), &mod, &regop, &rm);
1330 if ((mod == 3) && (regop == eax)) { 1330 if ((mod == 3) && (regop == eax)) {
1331 Print("test_b "); 1331 Print("test_b ");
1332 PrintCPURegister(rm); 1332 PrintCPURegister(rm);
1333 Print(","); 1333 Print(",");
1334 PrintHex(*(data+2)); 1334 PrintHex(*(data+2));
1335 data += 3;
1335 } else { 1336 } else {
1336 UNIMPLEMENTED(); 1337 data++;
1338 Print("test_b ");
1339 data += PrintRightOperand(data);
1340 int32_t imm = *data;
1341 Print(",");
1342 PrintHex(imm);
1343 data++;
1337 } 1344 }
1338 data += 3;
1339 } 1345 }
1340 break; 1346 break;
1341 1347
1342 case 0x81: // fall through 1348 case 0x81: // fall through
1343 case 0x83: // 0x81 with sign extension bit set 1349 case 0x83: // 0x81 with sign extension bit set
1344 data += PrintImmediateOp(data); 1350 data += PrintImmediateOp(data);
1345 break; 1351 break;
1346 1352
1347 case 0x0F: 1353 case 0x0F:
1348 { uint8_t f0byte = *(data+1); 1354 { uint8_t f0byte = *(data+1);
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
1841 } 1847 }
1842 hex_buffer[hex_index] = '\0'; 1848 hex_buffer[hex_index] = '\0';
1843 if (out_instr_len) { 1849 if (out_instr_len) {
1844 *out_instr_len = instruction_length; 1850 *out_instr_len = instruction_length;
1845 } 1851 }
1846 } 1852 }
1847 1853
1848 } // namespace dart 1854 } // namespace dart
1849 1855
1850 #endif // defined TARGET_ARCH_IA32 1856 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698