Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 48d8c4599c5d4c0f809420dd52d1a9cfa4d564d0..632b065168e2f75cb355b0756fef46dd16283e28 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -2434,7 +2434,8 @@ LInstruction* LChunkBuilder::DoStoreNamedField(HStoreNamedField* instr) { |
!(FLAG_track_double_fields && instr->field_representation().IsDouble()); |
LOperand* val; |
- if (instr->field_representation().IsByte()) { |
+ if (instr->field_representation().IsInteger8() || |
+ instr->field_representation().IsUInteger8()) { |
// mov_b requires a byte register (i.e. any of eax, ebx, ecx, edx). |
// Just force the value to be in eax and we're safe here. |
val = UseFixed(instr->value(), eax); |