Revision: 19806
Author: [email protected]
Date: Tue Mar 11 15:41:27 2014 UTC
Log: A64: Debug code should assert on unexpected situation.
[email protected]
BUG=
Review URL: https://codereview.chromium.org/184533002
http://code.google.com/p/v8/source/detail?r=19806
Modified:
/branches/bleeding_edge/src/a64/lithium-codegen-a64.cc
=======================================
--- /branches/bleeding_edge/src/a64/lithium-codegen-a64.cc Tue Mar 11
15:03:36 2014 UTC
+++ /branches/bleeding_edge/src/a64/lithium-codegen-a64.cc Tue Mar 11
15:41:27 2014 UTC
@@ -3732,8 +3732,7 @@
Register input = ToRegister(instr->value());
__ JumpIfSmi(result, &result_ok);
__ Cmp(input, result);
- // TODO(all): Shouldn't we assert here?
- DeoptimizeIf(ne, instr->environment());
+ __ Assert(eq, kUnexpectedValue);
__ Bind(&result_ok);
}
--
--
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.