Index: runtime/vm/flow_graph_compiler_arm.cc |
=================================================================== |
--- runtime/vm/flow_graph_compiler_arm.cc (revision 30390) |
+++ runtime/vm/flow_graph_compiler_arm.cc (working copy) |
@@ -1438,8 +1438,8 @@ |
const Object& obj, |
bool needs_number_check, |
intptr_t token_pos) { |
- if (needs_number_check && |
- (obj.IsMint() || obj.IsDouble() || obj.IsBigint())) { |
+ if (needs_number_check) { |
+ ASSERT(!obj.IsMint() && !obj.IsDouble() && !obj.IsBigint()); |
__ Push(reg); |
__ PushObject(obj); |
if (is_optimizing()) { |