Index: src/compiler/code-generator.cc |
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc |
index 7ca27ce7596e90326b26bf574a4798ac8ca8bc9e..8f72aed48751d9c4af0a1a93150205aba242afb6 100644 |
--- a/src/compiler/code-generator.cc |
+++ b/src/compiler/code-generator.cc |
@@ -424,7 +424,8 @@ void CodeGenerator::AddTranslationForOperand(Translation* translation, |
if (type == kMachBool || type == kMachInt32 || type == kMachInt8 || |
type == kMachInt16) { |
translation->StoreInt32StackSlot(op->index()); |
- } else if (type == kMachUint32) { |
+ } else if (type == kMachUint32 || type == kMachUint16 || |
+ type == kMachUint8) { |
translation->StoreUint32StackSlot(op->index()); |
} else if ((type & kRepMask) == kRepTagged) { |
translation->StoreStackSlot(op->index()); |
@@ -439,7 +440,8 @@ void CodeGenerator::AddTranslationForOperand(Translation* translation, |
if (type == kMachBool || type == kMachInt32 || type == kMachInt8 || |
type == kMachInt16) { |
translation->StoreInt32Register(converter.ToRegister(op)); |
- } else if (type == kMachUint32) { |
+ } else if (type == kMachUint32 || type == kMachUint16 || |
+ type == kMachUint8) { |
translation->StoreUint32Register(converter.ToRegister(op)); |
} else if ((type & kRepMask) == kRepTagged) { |
translation->StoreRegister(converter.ToRegister(op)); |