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

Side by Side Diff: src/hydrogen.h

Issue 1067573003: VectorICs: megamorphic keyed loads in crankshaft don't need a vector. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. 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 }
2160 void ClearInlinedTestContext() { 2166 void ClearInlinedTestContext() {
2161 function_state()->ClearInlinedTestContext(); 2167 function_state()->ClearInlinedTestContext();
2162 } 2168 }
2163 LanguageMode function_language_mode() { 2169 LanguageMode function_language_mode() {
2164 return function_state()->compilation_info()->language_mode(); 2170 return function_state()->compilation_info()->language_mode();
2165 } 2171 }
2166 2172
2167 #define FOR_EACH_HYDROGEN_INTRINSIC(F) \ 2173 #define FOR_EACH_HYDROGEN_INTRINSIC(F) \
2168 F(IsSmi) \ 2174 F(IsSmi) \
2169 F(IsArray) \ 2175 F(IsArray) \
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
3031 } 3037 }
3032 3038
3033 private: 3039 private:
3034 HGraphBuilder* builder_; 3040 HGraphBuilder* builder_;
3035 }; 3041 };
3036 3042
3037 3043
3038 } } // namespace v8::internal 3044 } } // namespace v8::internal
3039 3045
3040 #endif // V8_HYDROGEN_H_ 3046 #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