Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 1d12d23d24a8a55c43d88cd40bbbaf16bf72f5ee..54da28c610a2d3960dd92c8ef32f78f3b50d37cf 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1743,9 +1743,9 @@ LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) { |
LInstruction* LChunkBuilder::DoCheckPrototypeMaps(HCheckPrototypeMaps* instr) { |
- LOperand* temp = TempRegister(); |
+ LUnallocated* temp = TempRegister(); |
LCheckPrototypeMaps* result = new(zone()) LCheckPrototypeMaps(temp); |
- return AssignEnvironment(result); |
+ return AssignEnvironment(Define(result, temp)); |
} |