Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 7b605f7665a71e3e9713f900b1f2d324ec540f8b..5a09ae8158f578c4c0a8ef180ed003ff5d1baef8 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -1084,7 +1084,7 @@ LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { |
LOperand* receiver = UseRegisterAtStart(instr->receiver()); |
LOperand* function = UseRegisterAtStart(instr->function()); |
LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); |
- return AssignEnvironment(DefineSameAsFirst(result)); |
+ return AssignEnvironment(DefineAsRegister(result)); |
} |