| 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 2110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2121 return function_state()->compilation_info()->strict_mode(); | 2121 return function_state()->compilation_info()->strict_mode(); |
| 2122 } | 2122 } |
| 2123 | 2123 |
| 2124 // Generators for inline runtime functions. | 2124 // Generators for inline runtime functions. |
| 2125 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ | 2125 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ |
| 2126 void Generate##Name(CallRuntime* call); | 2126 void Generate##Name(CallRuntime* call); |
| 2127 | 2127 |
| 2128 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) | 2128 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
| 2129 INLINE_OPTIMIZED_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) | 2129 INLINE_OPTIMIZED_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
| 2130 #undef INLINE_FUNCTION_GENERATOR_DECLARATION | 2130 #undef INLINE_FUNCTION_GENERATOR_DECLARATION |
| 2131 void GenerateSimpleGetter( |
| 2132 CallRuntime* call, |
| 2133 InstanceType instance_type, |
| 2134 HObjectAccess access); |
| 2131 | 2135 |
| 2132 void VisitDelete(UnaryOperation* expr); | 2136 void VisitDelete(UnaryOperation* expr); |
| 2133 void VisitVoid(UnaryOperation* expr); | 2137 void VisitVoid(UnaryOperation* expr); |
| 2134 void VisitTypeof(UnaryOperation* expr); | 2138 void VisitTypeof(UnaryOperation* expr); |
| 2135 void VisitNot(UnaryOperation* expr); | 2139 void VisitNot(UnaryOperation* expr); |
| 2136 | 2140 |
| 2137 void VisitComma(BinaryOperation* expr); | 2141 void VisitComma(BinaryOperation* expr); |
| 2138 void VisitLogicalExpression(BinaryOperation* expr); | 2142 void VisitLogicalExpression(BinaryOperation* expr); |
| 2139 void VisitArithmeticExpression(BinaryOperation* expr); | 2143 void VisitArithmeticExpression(BinaryOperation* expr); |
| 2140 | 2144 |
| (...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2805 } | 2809 } |
| 2806 | 2810 |
| 2807 private: | 2811 private: |
| 2808 HGraphBuilder* builder_; | 2812 HGraphBuilder* builder_; |
| 2809 }; | 2813 }; |
| 2810 | 2814 |
| 2811 | 2815 |
| 2812 } } // namespace v8::internal | 2816 } } // namespace v8::internal |
| 2813 | 2817 |
| 2814 #endif // V8_HYDROGEN_H_ | 2818 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |