Chromium Code Reviews

Unified Diff: src/full-codegen/full-codegen.cc

Issue 2313093002: [stubs] Port StoreTransitionStub and ElementsTransitionAndStoreStub to TurboFan. (Closed)
Patch Set: Port of ElementsTransitionAndStoreStub Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/full-codegen/full-codegen.cc
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc
index 163fd9bd7e8fe7f1dbd450720630f0fc7e89f215..b8aff87a3ba5f809672dd5edbd866ded7be03ad6 100644
--- a/src/full-codegen/full-codegen.cc
+++ b/src/full-codegen/full-codegen.cc
@@ -238,6 +238,7 @@ void FullCodeGenerator::CallLoadGlobalIC(TypeofMode typeof_mode,
void FullCodeGenerator::CallStoreIC(TypeFeedbackId id) {
Handle<Code> ic = CodeFactory::StoreIC(isolate(), language_mode()).code();
CallIC(ic, id);
+ RestoreContext();
}
void FullCodeGenerator::CallKeyedStoreIC() {

Powered by Google App Engine