Index: src/x87/lithium-codegen-x87.cc |
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc |
index 95a12b3ca93cf6e1b63e3804993372afe2ce043d..1231cf1de14273d6f5b577683bdd442bf880056e 100644 |
--- a/src/x87/lithium-codegen-x87.cc |
+++ b/src/x87/lithium-codegen-x87.cc |
@@ -5305,7 +5305,7 @@ void LCodeGen::DoDoubleToI(LDoubleToI* instr) { |
Label::Distance dist = DeoptEveryNTimes() ? Label::kFar : Label::kNear; |
__ X87TOSToI(result_reg, instr->hydrogen()->GetMinusZeroMode(), |
&lost_precision, &is_nan, &minus_zero, dist); |
- __ jmp(&done, dist); |
+ __ jmp(&done, Label::kFar); |
Weiliang
2014/09/25 12:56:55
The default jmp is far. So you don't need to do it
|
__ bind(&lost_precision); |
DeoptimizeIf(no_condition, instr, "lost precision"); |
__ bind(&is_nan); |
@@ -5330,7 +5330,7 @@ void LCodeGen::DoDoubleToSmi(LDoubleToSmi* instr) { |
Label::Distance dist = DeoptEveryNTimes() ? Label::kFar : Label::kNear; |
__ X87TOSToI(result_reg, instr->hydrogen()->GetMinusZeroMode(), |
&lost_precision, &is_nan, &minus_zero, dist); |
- __ jmp(&done, dist); |
+ __ jmp(&done, Label::kFar); |
__ bind(&lost_precision); |
DeoptimizeIf(no_condition, instr, "lost precision"); |
__ bind(&is_nan); |