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

Unified Diff: src/code-factory.cc

Issue 871063002: Use a trampoline stub to load the type feedback vector for CallICs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. Created 5 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/code-factory.h ('k') | src/code-stubs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-factory.cc
diff --git a/src/code-factory.cc b/src/code-factory.cc
index e68d539207b2b32300a3b1e947e6e26be5cf8221..57a107e4904c264812a2e9a00804ff3ca8772c16 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -49,6 +49,23 @@ Callable CodeFactory::KeyedLoadICInOptimizedCode(Isolate* isolate) {
// static
+Callable CodeFactory::CallIC(Isolate* isolate, int argc,
+ CallICState::CallType call_type) {
+ return Callable(CallIC::initialize_stub(isolate, argc, call_type),
+ CallFunctionWithFeedbackDescriptor(isolate));
+}
+
+
+// static
+Callable CodeFactory::CallICInOptimizedCode(Isolate* isolate, int argc,
+ CallICState::CallType call_type) {
+ return Callable(
+ CallIC::initialize_stub_in_optimized_code(isolate, argc, call_type),
+ CallFunctionWithFeedbackAndVectorDescriptor(isolate));
+}
+
+
+// static
Callable CodeFactory::StoreIC(Isolate* isolate, StrictMode mode) {
return Callable(StoreIC::initialize_stub(isolate, mode),
StoreDescriptor(isolate));
« no previous file with comments | « src/code-factory.h ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698