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

Unified Diff: src/code-factory.cc

Issue 2096653003: [ic] Don't pass receiver and name to LoadGlobalIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@store-name-in-metavector
Patch Set: Removed name parameter. Created 4 years, 6 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 | « no previous file | src/compiler/bytecode-graph-builder.cc » ('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 4e0da2a3c941bf4c95bc7f740f3ba75f678e4023..944f780c04f8ff61153b61d8c5db3e10a2e16048 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -36,7 +36,7 @@ Callable CodeFactory::LoadICInOptimizedCode(Isolate* isolate) {
// static
Callable CodeFactory::LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode) {
LoadGlobalICTrampolineStub stub(isolate, LoadGlobalICState(typeof_mode));
- return Callable(stub.GetCode(), LoadDescriptor(isolate));
+ return Callable(stub.GetCode(), LoadGlobalDescriptor(isolate));
}
// static
@@ -44,7 +44,7 @@ Callable CodeFactory::LoadGlobalICInOptimizedCode(Isolate* isolate,
TypeofMode typeof_mode) {
auto code = LoadGlobalIC::initialize_stub_in_optimized_code(
isolate, LoadGlobalICState(typeof_mode).GetExtraICState());
- return Callable(code, LoadWithVectorDescriptor(isolate));
+ return Callable(code, LoadGlobalWithVectorDescriptor(isolate));
}
// static
« no previous file with comments | « no previous file | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698