Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Unified Diff: src/x87/builtins-x87.cc

Issue 1960993002: [X87] [Ignition] Fix V8 x87 code generation bugs when Ingition was enabled. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: format the comments Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x87/builtins-x87.cc
diff --git a/src/x87/builtins-x87.cc b/src/x87/builtins-x87.cc
index 46495919c8193d08c1b847a4f0a303cc9bb640cd..319f99a54f0620724fc7a7dcb986ac2c0037ff7f 100644
--- a/src/x87/builtins-x87.cc
+++ b/src/x87/builtins-x87.cc
@@ -654,6 +654,10 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) {
void Builtins::Generate_InterpreterExitTrampoline(MacroAssembler* masm) {
+ // Interpreter handler is turbofanned code, need to reset the FPU before
+ // return
+ __ fninit();
+
// The return value is in accumulator, which is already in eax.
// Leave the frame (also dropping the register file).
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698