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

Unified Diff: src/full-codegen.cc

Issue 148223002: Remove CallICs (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update test262 status file Created 6 years, 11 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/full-codegen.h ('k') | src/gdb-jit.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/full-codegen.cc
diff --git a/src/full-codegen.cc b/src/full-codegen.cc
index fd8f447e78f1fcf15fa7cad02793aa8f8653a739..e14afefda4547a722d4185f496173ccd9e684e1a 100644
--- a/src/full-codegen.cc
+++ b/src/full-codegen.cc
@@ -445,9 +445,11 @@ void FullCodeGenerator::PrepareForBailout(Expression* node, State state) {
}
-void FullCodeGenerator::CallLoadIC(ContextualMode mode, TypeFeedbackId id) {
- Handle<Code> ic = LoadIC::initialize_stub(isolate(), mode);
- CallIC(ic, mode, id);
+void FullCodeGenerator::CallLoadIC(ContextualMode contextual_mode,
+ TypeFeedbackId id) {
+ ExtraICState extra_state = LoadIC::ComputeExtraICState(contextual_mode);
+ Handle<Code> ic = LoadIC::initialize_stub(isolate(), extra_state);
+ CallIC(ic, contextual_mode, id);
}
« no previous file with comments | « src/full-codegen.h ('k') | src/gdb-jit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698