OLD | NEW |
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 2106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2117 } | 2117 } |
2118 StrictMode function_strict_mode() { | 2118 StrictMode function_strict_mode() { |
2119 return function_state()->compilation_info()->strict_mode(); | 2119 return function_state()->compilation_info()->strict_mode(); |
2120 } | 2120 } |
2121 | 2121 |
2122 // Generators for inline runtime functions. | 2122 // Generators for inline runtime functions. |
2123 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ | 2123 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ |
2124 void Generate##Name(CallRuntime* call); | 2124 void Generate##Name(CallRuntime* call); |
2125 | 2125 |
2126 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) | 2126 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
| 2127 INLINE_OPTIMIZED_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
2127 #undef INLINE_FUNCTION_GENERATOR_DECLARATION | 2128 #undef INLINE_FUNCTION_GENERATOR_DECLARATION |
2128 | 2129 |
2129 void VisitDelete(UnaryOperation* expr); | 2130 void VisitDelete(UnaryOperation* expr); |
2130 void VisitVoid(UnaryOperation* expr); | 2131 void VisitVoid(UnaryOperation* expr); |
2131 void VisitTypeof(UnaryOperation* expr); | 2132 void VisitTypeof(UnaryOperation* expr); |
2132 void VisitNot(UnaryOperation* expr); | 2133 void VisitNot(UnaryOperation* expr); |
2133 | 2134 |
2134 void VisitComma(BinaryOperation* expr); | 2135 void VisitComma(BinaryOperation* expr); |
2135 void VisitLogicalExpression(BinaryOperation* expr); | 2136 void VisitLogicalExpression(BinaryOperation* expr); |
2136 void VisitArithmeticExpression(BinaryOperation* expr); | 2137 void VisitArithmeticExpression(BinaryOperation* expr); |
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2797 } | 2798 } |
2798 | 2799 |
2799 private: | 2800 private: |
2800 HGraphBuilder* builder_; | 2801 HGraphBuilder* builder_; |
2801 }; | 2802 }; |
2802 | 2803 |
2803 | 2804 |
2804 } } // namespace v8::internal | 2805 } } // namespace v8::internal |
2805 | 2806 |
2806 #endif // V8_HYDROGEN_H_ | 2807 #endif // V8_HYDROGEN_H_ |
OLD | NEW |