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

Side by Side Diff: src/stub-cache.h

Issue 144913003: Reland (and fix) "Add hydrogen support for ArrayPop, and remove the handwritten call stubs." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 return registers()[3]; 881 return registers()[3];
882 } 882 }
883 883
884 friend class BaseLoadStoreStubCompiler; 884 friend class BaseLoadStoreStubCompiler;
885 }; 885 };
886 886
887 887
888 // Subset of FUNCTIONS_WITH_ID_LIST with custom constant/global call 888 // Subset of FUNCTIONS_WITH_ID_LIST with custom constant/global call
889 // IC stubs. 889 // IC stubs.
890 #define CUSTOM_CALL_IC_GENERATORS(V) \ 890 #define CUSTOM_CALL_IC_GENERATORS(V) \
891 V(ArrayPush) \ 891 V(ArrayPush)
892 V(ArrayPop)
893 892
894 893
895 class CallStubCompiler: public StubCompiler { 894 class CallStubCompiler: public StubCompiler {
896 public: 895 public:
897 CallStubCompiler(Isolate* isolate, 896 CallStubCompiler(Isolate* isolate,
898 int argc, 897 int argc,
899 Code::Kind kind, 898 Code::Kind kind,
900 ExtraICState extra_state, 899 ExtraICState extra_state,
901 InlineCacheHolderFlag cache_holder = OWN_MAP); 900 InlineCacheHolderFlag cache_holder = OWN_MAP);
902 901
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 Handle<JSFunction> constant_function_; 1049 Handle<JSFunction> constant_function_;
1051 bool is_simple_api_call_; 1050 bool is_simple_api_call_;
1052 Handle<FunctionTemplateInfo> expected_receiver_type_; 1051 Handle<FunctionTemplateInfo> expected_receiver_type_;
1053 Handle<CallHandlerInfo> api_call_info_; 1052 Handle<CallHandlerInfo> api_call_info_;
1054 }; 1053 };
1055 1054
1056 1055
1057 } } // namespace v8::internal 1056 } } // namespace v8::internal
1058 1057
1059 #endif // V8_STUB_CACHE_H_ 1058 #endif // V8_STUB_CACHE_H_
OLDNEW
« src/hydrogen.cc ('K') | « src/mips/stub-cache-mips.cc ('k') | src/x64/stub-cache-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698