From 3dd300df48298784c220aaf5bb5187c176dcc7f7 Mon Sep 17 00:00:00 2001 From: "vitalyr@chromium.org" Date: Thu, 16 Dec 2010 16:56:45 +0000 Subject: [PATCH] Emit better code when pushing a constant. Review URL: http://codereview.chromium.org/5884003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6053 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/ia32/lithium-ia32.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc index d5062251d..e1148fc18 100644 --- a/src/ia32/lithium-ia32.cc +++ b/src/ia32/lithium-ia32.cc @@ -1337,7 +1337,7 @@ LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { LInstruction* LChunkBuilder::DoPushArgument(HPushArgument* instr) { ++argument_count_; - LOperand* argument = Use(instr->argument()); + LOperand* argument = UseOrConstant(instr->argument()); return new LPushArgument(argument); } -- 2.34.1