Index: src/x87/lithium-codegen-x87.cc |
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc |
index d9e5169fdec0dc6f60efaa20d55c1045e707daf8..1b5b176be134ad9034a0d0a9032ed05bc7e2c6a3 100644 |
--- a/src/x87/lithium-codegen-x87.cc |
+++ b/src/x87/lithium-codegen-x87.cc |
@@ -215,6 +215,10 @@ bool LCodeGen::GeneratePrologue() { |
} |
} |
} |
+ |
+ // Initailize FPU state. |
+ __ fninit(); |
+ |
return !is_aborted(); |
} |
@@ -278,9 +282,6 @@ void LCodeGen::DoPrologue(LPrologue* instr) { |
Comment(";;; End allocate local context"); |
} |
- // Initailize FPU state. |
- __ fninit(); |
- |
Comment(";;; Prologue end"); |
} |