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

Unified Diff: src/code-stubs.cc

Issue 2608883002: [builtins] Move several CodeStub-based ICs to builtins (Closed)
Patch Set: Created 3 years, 12 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-stubs.h ('k') | src/ic/accessor-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index 532756569b1ecb3033e306e199685f60dbf2a669..ace3e51250a6aa24d21c6f5c93c6d22fb4204c3c 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -440,20 +440,6 @@ Handle<Code> TurboFanCodeStub::GenerateCode() {
return compiler::CodeAssembler::GenerateCode(&state);
}
-#define ACCESSOR_ASSEMBLER(Name) \
- void Name##Stub::GenerateAssembly(CodeAssemblerState* state) const { \
- AccessorAssembler::Generate##Name(state); \
- }
-
-ACCESSOR_ASSEMBLER(LoadIC)
-ACCESSOR_ASSEMBLER(LoadICTrampoline)
-ACCESSOR_ASSEMBLER(KeyedLoadICTF)
-ACCESSOR_ASSEMBLER(KeyedLoadICTrampolineTF)
-ACCESSOR_ASSEMBLER(StoreIC)
-ACCESSOR_ASSEMBLER(StoreICTrampoline)
-
-#undef ACCESSOR_ASSEMBLER
-
void LoadICProtoArrayStub::GenerateAssembly(CodeAssemblerState* state) const {
AccessorAssembler::GenerateLoadICProtoArray(
state, throw_reference_error_if_nonexistent());
@@ -468,16 +454,6 @@ void LoadGlobalICTrampolineStub::GenerateAssembly(
AccessorAssembler::GenerateLoadGlobalICTrampoline(state, typeof_mode());
}
-void KeyedStoreICTrampolineTFStub::GenerateAssembly(
- CodeAssemblerState* state) const {
- AccessorAssembler::GenerateKeyedStoreICTrampolineTF(state, language_mode());
-}
-
-void KeyedStoreICTFStub::GenerateAssembly(
- compiler::CodeAssemblerState* state) const {
- AccessorAssembler::GenerateKeyedStoreICTF(state, language_mode());
-}
-
void ElementsTransitionAndStoreStub::GenerateAssembly(
compiler::CodeAssemblerState* state) const {
typedef CodeStubAssembler::Label Label;
« no previous file with comments | « src/code-stubs.h ('k') | src/ic/accessor-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698