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

Unified Diff: src/ic/ic.cc

Issue 1874303002: Properly set up the code flags of the turbofan interceptor stubs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/code-stubs.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic.cc
diff --git a/src/ic/ic.cc b/src/ic/ic.cc
index 37fbf44843327d1e1112fb5da14cd3058d80d298..53a5eaf1a65d7e2c8d95bb1478226d7789a1d5a1 100644
--- a/src/ic/ic.cc
+++ b/src/ic/ic.cc
@@ -9,7 +9,6 @@
#include "src/api-arguments.h"
#include "src/arguments.h"
#include "src/base/bits.h"
-#include "src/code-factory.h"
#include "src/codegen.h"
#include "src/conversions.h"
#include "src/execution.h"
@@ -1520,7 +1519,8 @@ Handle<Code> StoreIC::CompileHandler(LookupIterator* lookup,
case LookupIterator::INTERCEPTOR: {
DCHECK(!holder->GetNamedInterceptor()->setter()->IsUndefined());
- return CodeFactory::StoreInterceptor(isolate()).code();
+ StoreInterceptorStub stub(isolate());
+ return stub.GetCode();
}
case LookupIterator::ACCESSOR: {
« no previous file with comments | « src/code-stubs.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698