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

Unified Diff: src/ic/ic-inl.h

Issue 1151253004: VectorICs: Create a StoreICState to more easily create matching code stubs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Dumb compile error :P. Created 5 years, 7 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/ic/ic-compiler.cc ('k') | src/ic/ic-state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic-inl.h
diff --git a/src/ic/ic-inl.h b/src/ic/ic-inl.h
index 6ac646ad3065ecfde856cbfba56c3afe81c396d4..b0decf4c6a393b88ac332c82367c2974ccbebfa0 100644
--- a/src/ic/ic-inl.h
+++ b/src/ic/ic-inl.h
@@ -109,8 +109,8 @@ void IC::SetTargetAtAddress(Address address, Code* target,
// ICs as language mode. The language mode of the IC must be preserved.
if (old_target->kind() == Code::STORE_IC ||
old_target->kind() == Code::KEYED_STORE_IC) {
- DCHECK(StoreIC::GetLanguageMode(old_target->extra_ic_state()) ==
- StoreIC::GetLanguageMode(target->extra_ic_state()));
+ DCHECK(StoreICState::GetLanguageMode(old_target->extra_ic_state()) ==
+ StoreICState::GetLanguageMode(target->extra_ic_state()));
}
#endif
Assembler::set_target_address_at(address, constant_pool,
@@ -141,15 +141,16 @@ void LoadIC::set_target(Code* code) {
void StoreIC::set_target(Code* code) {
// Language mode must be preserved across IC patching.
- DCHECK(GetLanguageMode(code->extra_ic_state()) ==
- GetLanguageMode(target()->extra_ic_state()));
+ DCHECK(StoreICState::GetLanguageMode(code->extra_ic_state()) ==
+ StoreICState::GetLanguageMode(target()->extra_ic_state()));
IC::set_target(code);
}
void KeyedStoreIC::set_target(Code* code) {
// Language mode must be preserved across IC patching.
- DCHECK(GetLanguageMode(code->extra_ic_state()) == language_mode());
+ DCHECK(StoreICState::GetLanguageMode(code->extra_ic_state()) ==
+ language_mode());
IC::set_target(code);
}
« no previous file with comments | « src/ic/ic-compiler.cc ('k') | src/ic/ic-state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698