From 8ad8ff10e313f0034dc56553c8cc4ec92f116baf Mon Sep 17 00:00:00 2001 From: "haitao.feng@intel.com" Date: Mon, 14 Oct 2013 06:31:01 +0000 Subject: [PATCH] Remove unnecessary MarkAsDeferredCalling when changing a tagged value to double R=danno@chromium.org Review URL: https://codereview.chromium.org/25373003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17174 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/arm/lithium-arm.cc | 1 - src/ia32/lithium-ia32.cc | 1 - src/mips/lithium-mips.cc | 1 - src/x64/lithium-x64.cc | 1 - 4 files changed, 4 deletions(-) diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc index ff14172e14..ac1a03ed84 100644 --- a/src/arm/lithium-arm.cc +++ b/src/arm/lithium-arm.cc @@ -1946,7 +1946,6 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) { } if (from.IsTagged()) { if (to.IsDouble()) { - info()->MarkAsDeferredCalling(); LOperand* value = UseRegister(instr->value()); LNumberUntagD* res = new(zone()) LNumberUntagD(value); return AssignEnvironment(DefineAsRegister(res)); diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc index ba225eff8a..e9bdfd06e3 100644 --- a/src/ia32/lithium-ia32.cc +++ b/src/ia32/lithium-ia32.cc @@ -1926,7 +1926,6 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) { // building a stack frame. if (from.IsTagged()) { if (to.IsDouble()) { - info()->MarkAsDeferredCalling(); LOperand* value = UseRegister(instr->value()); // Temp register only necessary for minus zero check. LOperand* temp = TempRegister(); diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc index 363c827f50..b3cd74c27d 100644 --- a/src/mips/lithium-mips.cc +++ b/src/mips/lithium-mips.cc @@ -1866,7 +1866,6 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) { } if (from.IsTagged()) { if (to.IsDouble()) { - info()->MarkAsDeferredCalling(); LOperand* value = UseRegister(instr->value()); LNumberUntagD* res = new(zone()) LNumberUntagD(value); return AssignEnvironment(DefineAsRegister(res)); diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc index d5d6436589..9fb8307983 100644 --- a/src/x64/lithium-x64.cc +++ b/src/x64/lithium-x64.cc @@ -1822,7 +1822,6 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) { // building a stack frame. if (from.IsTagged()) { if (to.IsDouble()) { - info()->MarkAsDeferredCalling(); LOperand* value = UseRegister(instr->value()); LNumberUntagD* res = new(zone()) LNumberUntagD(value); return AssignEnvironment(DefineAsRegister(res));