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

Unified Diff: src/ic.h

Issue 6717018: Introduce accessors on builtins instance (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix tests and lint. Created 9 years, 9 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/ia32/virtual-frame-ia32.cc ('k') | src/ic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic.h
diff --git a/src/ic.h b/src/ic.h
index 91a626f3a505c819b7b80e30cb745655e8bab2d4..f22666083bcdc230ce4f688482d47bd010c402ba 100644
--- a/src/ic.h
+++ b/src/ic.h
@@ -316,15 +316,15 @@ class LoadIC: public IC {
// Stub accessors.
Code* megamorphic_stub() {
return isolate()->builtins()->builtin(
- Builtins::LoadIC_Megamorphic);
+ Builtins::kLoadIC_Megamorphic);
}
static Code* initialize_stub() {
return Isolate::Current()->builtins()->builtin(
- Builtins::LoadIC_Initialize);
+ Builtins::kLoadIC_Initialize);
}
Code* pre_monomorphic_stub() {
return isolate()->builtins()->builtin(
- Builtins::LoadIC_PreMonomorphic);
+ Builtins::kLoadIC_PreMonomorphic);
}
static void Clear(Address address, Code* target);
@@ -382,28 +382,28 @@ class KeyedLoadIC: public IC {
// Stub accessors.
static Code* initialize_stub() {
return Isolate::Current()->builtins()->builtin(
- Builtins::KeyedLoadIC_Initialize);
+ Builtins::kKeyedLoadIC_Initialize);
}
Code* megamorphic_stub() {
return isolate()->builtins()->builtin(
- Builtins::KeyedLoadIC_Generic);
+ Builtins::kKeyedLoadIC_Generic);
}
Code* generic_stub() {
return isolate()->builtins()->builtin(
- Builtins::KeyedLoadIC_Generic);
+ Builtins::kKeyedLoadIC_Generic);
}
Code* pre_monomorphic_stub() {
return isolate()->builtins()->builtin(
- Builtins::KeyedLoadIC_PreMonomorphic);
+ Builtins::kKeyedLoadIC_PreMonomorphic);
}
Code* string_stub() {
return isolate()->builtins()->builtin(
- Builtins::KeyedLoadIC_String);
+ Builtins::kKeyedLoadIC_String);
}
Code* indexed_interceptor_stub() {
return isolate()->builtins()->builtin(
- Builtins::KeyedLoadIC_IndexedInterceptor);
+ Builtins::kKeyedLoadIC_IndexedInterceptor);
}
static void Clear(Address address, Code* target);
@@ -465,27 +465,27 @@ class StoreIC: public IC {
// Stub accessors.
Code* megamorphic_stub() {
return isolate()->builtins()->builtin(
- Builtins::StoreIC_Megamorphic);
+ Builtins::kStoreIC_Megamorphic);
}
Code* megamorphic_stub_strict() {
return isolate()->builtins()->builtin(
- Builtins::StoreIC_Megamorphic_Strict);
+ Builtins::kStoreIC_Megamorphic_Strict);
}
static Code* initialize_stub() {
return Isolate::Current()->builtins()->builtin(
- Builtins::StoreIC_Initialize);
+ Builtins::kStoreIC_Initialize);
}
static Code* initialize_stub_strict() {
return Isolate::Current()->builtins()->builtin(
- Builtins::StoreIC_Initialize_Strict);
+ Builtins::kStoreIC_Initialize_Strict);
}
Code* global_proxy_stub() {
return isolate()->builtins()->builtin(
- Builtins::StoreIC_GlobalProxy);
+ Builtins::kStoreIC_GlobalProxy);
}
Code* global_proxy_stub_strict() {
return isolate()->builtins()->builtin(
- Builtins::StoreIC_GlobalProxy_Strict);
+ Builtins::kStoreIC_GlobalProxy_Strict);
}
static void Clear(Address address, Code* target);
@@ -540,27 +540,27 @@ class KeyedStoreIC: public IC {
// Stub accessors.
static Code* initialize_stub() {
return Isolate::Current()->builtins()->builtin(
- Builtins::KeyedStoreIC_Initialize);
+ Builtins::kKeyedStoreIC_Initialize);
}
Code* megamorphic_stub() {
return isolate()->builtins()->builtin(
- Builtins::KeyedStoreIC_Generic);
+ Builtins::kKeyedStoreIC_Generic);
}
static Code* initialize_stub_strict() {
return Isolate::Current()->builtins()->builtin(
- Builtins::KeyedStoreIC_Initialize_Strict);
+ Builtins::kKeyedStoreIC_Initialize_Strict);
}
Code* megamorphic_stub_strict() {
return isolate()->builtins()->builtin(
- Builtins::KeyedStoreIC_Generic_Strict);
+ Builtins::kKeyedStoreIC_Generic_Strict);
}
Code* generic_stub() {
return isolate()->builtins()->builtin(
- Builtins::KeyedStoreIC_Generic);
+ Builtins::kKeyedStoreIC_Generic);
}
Code* generic_stub_strict() {
return isolate()->builtins()->builtin(
- Builtins::KeyedStoreIC_Generic_Strict);
+ Builtins::kKeyedStoreIC_Generic_Strict);
}
static void Clear(Address address, Code* target);
« no previous file with comments | « src/ia32/virtual-frame-ia32.cc ('k') | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698