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

Unified Diff: src/ia32/code-stubs-ia32.cc

Issue 2188993003: [stubs] Port CreateWeakCellStub to turbofan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix stack overflow Created 4 years, 5 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
Index: src/ia32/code-stubs-ia32.cc
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
index 13b1fbdd93bf4402940e65862e4d2c789a63f307..83982eb9e29b60c4c4bedc6ab24ea155d0804f7c 100644
--- a/src/ia32/code-stubs-ia32.cc
+++ b/src/ia32/code-stubs-ia32.cc
@@ -1277,9 +1277,11 @@ static void CallStubInRecordCallTarget(MacroAssembler* masm, CodeStub* stub) {
__ push(edi);
__ push(edx);
__ push(ebx);
+ __ push(esi);
__ CallStub(stub);
+ __ pop(esi);
__ pop(ebx);
__ pop(edx);
__ pop(edi);
@@ -1575,7 +1577,9 @@ void CallICStub::Generate(MacroAssembler* masm) {
FrameScope scope(masm, StackFrame::INTERNAL);
CreateWeakCellStub create_stub(isolate);
__ push(edi);
+ __ push(esi);
__ CallStub(&create_stub);
+ __ pop(esi);
__ pop(edi);
}

Powered by Google App Engine
This is Rietveld 408576698