Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index aebe26b78560b98a8894ca98fae0a25e4c295eae..648109042ca25dca6b37a6784768ab6815f100ec 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -2137,6 +2137,8 @@ LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { |
bool value_is_zero = BitCast<uint64_t, double>(value) == 0; |
LOperand* temp = value_is_zero ? NULL : TempRegister(); |
return DefineAsRegister(new(zone()) LConstantD(temp)); |
+ } else if (r.IsExternal()) { |
+ return DefineAsRegister(new(zone()) LConstantE); |
} else if (r.IsTagged()) { |
return DefineAsRegister(new(zone()) LConstantT); |
} else { |