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

Side by Side Diff: src/hydrogen.h

Issue 894683003: Introduce LanguageMode, drop StrictMode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased (w/ conflicts) Created 5 years, 10 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/globals.h ('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 2171 matching lines...) Expand 10 before | Expand all | Expand 10 after
2182 } 2182 }
2183 HBasicBlock* function_return() const { 2183 HBasicBlock* function_return() const {
2184 return function_state()->function_return(); 2184 return function_state()->function_return();
2185 } 2185 }
2186 TestContext* inlined_test_context() const { 2186 TestContext* inlined_test_context() const {
2187 return function_state()->test_context(); 2187 return function_state()->test_context();
2188 } 2188 }
2189 void ClearInlinedTestContext() { 2189 void ClearInlinedTestContext() {
2190 function_state()->ClearInlinedTestContext(); 2190 function_state()->ClearInlinedTestContext();
2191 } 2191 }
2192 StrictMode function_strict_mode() { 2192 LanguageMode function_language_mode() {
2193 return function_state()->compilation_info()->strict_mode(); 2193 return function_state()->compilation_info()->language_mode();
2194 } 2194 }
2195 2195
2196 // Generators for inline runtime functions. 2196 // Generators for inline runtime functions.
2197 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ 2197 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \
2198 void Generate##Name(CallRuntime* call); 2198 void Generate##Name(CallRuntime* call);
2199 2199
2200 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) 2200 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION)
2201 INLINE_OPTIMIZED_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) 2201 INLINE_OPTIMIZED_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION)
2202 #undef INLINE_FUNCTION_GENERATOR_DECLARATION 2202 #undef INLINE_FUNCTION_GENERATOR_DECLARATION
2203 2203
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
2949 } 2949 }
2950 2950
2951 private: 2951 private:
2952 HGraphBuilder* builder_; 2952 HGraphBuilder* builder_;
2953 }; 2953 };
2954 2954
2955 2955
2956 } } // namespace v8::internal 2956 } } // namespace v8::internal
2957 2957
2958 #endif // V8_HYDROGEN_H_ 2958 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/globals.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698