Revision: 20518
Author: [email protected]
Date: Fri Apr 4 15:17:37 2014 UTC
Log: MIPS: Reland "Fixed environment assignment for LCheckNonSmi."
Port r20495 (705b65bc)
BUG=
[email protected]
Review URL: https://codereview.chromium.org/225023007
http://code.google.com/p/v8/source/detail?r=20518
Modified:
/branches/bleeding_edge/src/mips/lithium-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/lithium-mips.cc Wed Apr 2 22:18:22
2014 UTC
+++ /branches/bleeding_edge/src/mips/lithium-mips.cc Fri Apr 4 15:17:37
2014 UTC
@@ -1913,7 +1913,9 @@
LInstruction* LChunkBuilder::DoCheckHeapObject(HCheckHeapObject* instr) {
LOperand* value = UseRegisterAtStart(instr->value());
- return AssignEnvironment(new(zone()) LCheckNonSmi(value));
+ LInstruction* result = new(zone()) LCheckNonSmi(value);
+ if (!instr->value()->IsHeapObject()) result = AssignEnvironment(result);
+ return result;
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.