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

Side by Side Diff: src/hydrogen.h

Issue 1060263003: Revert of VectorICs: megamorphic keyed loads in crankshaft don't need a vector. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « src/code-factory.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HYDROGEN_H_ 5 #ifndef V8_HYDROGEN_H_
6 #define V8_HYDROGEN_H_ 6 #define V8_HYDROGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/accessors.h" 10 #include "src/accessors.h"
(...skipping 2139 matching lines...) Expand 10 before | Expand all | Expand 10 after
2150 } 2150 }
2151 AstContext* call_context() const { 2151 AstContext* call_context() const {
2152 return function_state()->call_context(); 2152 return function_state()->call_context();
2153 } 2153 }
2154 HBasicBlock* function_return() const { 2154 HBasicBlock* function_return() const {
2155 return function_state()->function_return(); 2155 return function_state()->function_return();
2156 } 2156 }
2157 TestContext* inlined_test_context() const { 2157 TestContext* inlined_test_context() const {
2158 return function_state()->test_context(); 2158 return function_state()->test_context();
2159 } 2159 }
2160 Handle<SharedFunctionInfo> current_shared_info() const {
2161 return current_info()->shared_info();
2162 }
2163 TypeFeedbackVector* current_feedback_vector() const {
2164 return current_shared_info()->feedback_vector();
2165 }
2166 void ClearInlinedTestContext() { 2160 void ClearInlinedTestContext() {
2167 function_state()->ClearInlinedTestContext(); 2161 function_state()->ClearInlinedTestContext();
2168 } 2162 }
2169 LanguageMode function_language_mode() { 2163 LanguageMode function_language_mode() {
2170 return function_state()->compilation_info()->language_mode(); 2164 return function_state()->compilation_info()->language_mode();
2171 } 2165 }
2172 2166
2173 #define FOR_EACH_HYDROGEN_INTRINSIC(F) \ 2167 #define FOR_EACH_HYDROGEN_INTRINSIC(F) \
2174 F(IsSmi) \ 2168 F(IsSmi) \
2175 F(IsArray) \ 2169 F(IsArray) \
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
3037 } 3031 }
3038 3032
3039 private: 3033 private:
3040 HGraphBuilder* builder_; 3034 HGraphBuilder* builder_;
3041 }; 3035 };
3042 3036
3043 3037
3044 } } // namespace v8::internal 3038 } } // namespace v8::internal
3045 3039
3046 #endif // V8_HYDROGEN_H_ 3040 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/code-factory.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698