Commit 8ad8ff10 authored by haitao.feng@intel.com's avatar haitao.feng@intel.com

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
parent ddcf385d
...@@ -1946,7 +1946,6 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) { ...@@ -1946,7 +1946,6 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) {
} }
if (from.IsTagged()) { if (from.IsTagged()) {
if (to.IsDouble()) { if (to.IsDouble()) {
info()->MarkAsDeferredCalling();
LOperand* value = UseRegister(instr->value()); LOperand* value = UseRegister(instr->value());
LNumberUntagD* res = new(zone()) LNumberUntagD(value); LNumberUntagD* res = new(zone()) LNumberUntagD(value);
return AssignEnvironment(DefineAsRegister(res)); return AssignEnvironment(DefineAsRegister(res));
......
...@@ -1926,7 +1926,6 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) { ...@@ -1926,7 +1926,6 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) {
// building a stack frame. // building a stack frame.
if (from.IsTagged()) { if (from.IsTagged()) {
if (to.IsDouble()) { if (to.IsDouble()) {
info()->MarkAsDeferredCalling();
LOperand* value = UseRegister(instr->value()); LOperand* value = UseRegister(instr->value());
// Temp register only necessary for minus zero check. // Temp register only necessary for minus zero check.
LOperand* temp = TempRegister(); LOperand* temp = TempRegister();
......
...@@ -1866,7 +1866,6 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) { ...@@ -1866,7 +1866,6 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) {
} }
if (from.IsTagged()) { if (from.IsTagged()) {
if (to.IsDouble()) { if (to.IsDouble()) {
info()->MarkAsDeferredCalling();
LOperand* value = UseRegister(instr->value()); LOperand* value = UseRegister(instr->value());
LNumberUntagD* res = new(zone()) LNumberUntagD(value); LNumberUntagD* res = new(zone()) LNumberUntagD(value);
return AssignEnvironment(DefineAsRegister(res)); return AssignEnvironment(DefineAsRegister(res));
......
...@@ -1822,7 +1822,6 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) { ...@@ -1822,7 +1822,6 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) {
// building a stack frame. // building a stack frame.
if (from.IsTagged()) { if (from.IsTagged()) {
if (to.IsDouble()) { if (to.IsDouble()) {
info()->MarkAsDeferredCalling();
LOperand* value = UseRegister(instr->value()); LOperand* value = UseRegister(instr->value());
LNumberUntagD* res = new(zone()) LNumberUntagD(value); LNumberUntagD* res = new(zone()) LNumberUntagD(value);
return AssignEnvironment(DefineAsRegister(res)); return AssignEnvironment(DefineAsRegister(res));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment