Index: runtime/vm/code_generator_ia32.cc |
=================================================================== |
--- runtime/vm/code_generator_ia32.cc (revision 2205) |
+++ runtime/vm/code_generator_ia32.cc (working copy) |
@@ -803,12 +803,7 @@ |
void CodeGenerator::VisitLiteralNode(LiteralNode* node) { |
if (!IsResultNeeded(node)) return; |
- const Object& literal = node->literal(); |
- if (literal.IsSmi()) { |
- __ pushl(Immediate(reinterpret_cast<int32_t>(literal.raw()))); |
- } else { |
- __ PushObject(literal); |
- } |
+ __ PushObject(node->literal()); |
} |