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

Side by Side Diff: src/hydrogen.h

Issue 177683002: Mode clean-up pt 1: rename classic/non-strict mode to sloppy mode (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 2092 matching lines...) Expand 10 before | Expand all | Expand 10 after
2103 HBasicBlock* function_return() const { 2103 HBasicBlock* function_return() const {
2104 return function_state()->function_return(); 2104 return function_state()->function_return();
2105 } 2105 }
2106 TestContext* inlined_test_context() const { 2106 TestContext* inlined_test_context() const {
2107 return function_state()->test_context(); 2107 return function_state()->test_context();
2108 } 2108 }
2109 void ClearInlinedTestContext() { 2109 void ClearInlinedTestContext() {
2110 function_state()->ClearInlinedTestContext(); 2110 function_state()->ClearInlinedTestContext();
2111 } 2111 }
2112 StrictModeFlag function_strict_mode_flag() { 2112 StrictModeFlag function_strict_mode_flag() {
2113 return function_state()->compilation_info()->is_classic_mode() 2113 return function_state()->compilation_info()->is_sloppy_mode()
2114 ? kNonStrictMode : kStrictMode; 2114 ? kSloppyMode : kStrictMode;
2115 } 2115 }
2116 2116
2117 // Generators for inline runtime functions. 2117 // Generators for inline runtime functions.
2118 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ 2118 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \
2119 void Generate##Name(CallRuntime* call); 2119 void Generate##Name(CallRuntime* call);
2120 2120
2121 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) 2121 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION)
2122 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) 2122 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION)
2123 #undef INLINE_FUNCTION_GENERATOR_DECLARATION 2123 #undef INLINE_FUNCTION_GENERATOR_DECLARATION
2124 2124
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
2793 } 2793 }
2794 2794
2795 private: 2795 private:
2796 HGraphBuilder* builder_; 2796 HGraphBuilder* builder_;
2797 }; 2797 };
2798 2798
2799 2799
2800 } } // namespace v8::internal 2800 } } // namespace v8::internal
2801 2801
2802 #endif // V8_HYDROGEN_H_ 2802 #endif // V8_HYDROGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698