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 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 } | 844 } |
845 | 845 |
846 // Generators for inline runtime functions. | 846 // Generators for inline runtime functions. |
847 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ | 847 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ |
848 void Generate##Name(CallRuntime* call); | 848 void Generate##Name(CallRuntime* call); |
849 | 849 |
850 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) | 850 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
851 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) | 851 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
852 #undef INLINE_FUNCTION_GENERATOR_DECLARATION | 852 #undef INLINE_FUNCTION_GENERATOR_DECLARATION |
853 | 853 |
854 void HandleVariableDeclaration(VariableProxy* proxy, | 854 void HandleDeclaration(VariableProxy* proxy, |
855 VariableMode mode, | 855 VariableMode mode, |
856 FunctionLiteral* function, | 856 FunctionLiteral* function, |
857 int* global_count); | 857 int* global_count); |
858 | 858 |
859 void VisitDelete(UnaryOperation* expr); | 859 void VisitDelete(UnaryOperation* expr); |
860 void VisitVoid(UnaryOperation* expr); | 860 void VisitVoid(UnaryOperation* expr); |
861 void VisitTypeof(UnaryOperation* expr); | 861 void VisitTypeof(UnaryOperation* expr); |
862 void VisitAdd(UnaryOperation* expr); | 862 void VisitAdd(UnaryOperation* expr); |
863 void VisitSub(UnaryOperation* expr); | 863 void VisitSub(UnaryOperation* expr); |
864 void VisitBitNot(UnaryOperation* expr); | 864 void VisitBitNot(UnaryOperation* expr); |
865 void VisitNot(UnaryOperation* expr); | 865 void VisitNot(UnaryOperation* expr); |
866 | 866 |
867 void VisitComma(BinaryOperation* expr); | 867 void VisitComma(BinaryOperation* expr); |
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1313 const char* filename_; | 1313 const char* filename_; |
1314 HeapStringAllocator string_allocator_; | 1314 HeapStringAllocator string_allocator_; |
1315 StringStream trace_; | 1315 StringStream trace_; |
1316 int indent_; | 1316 int indent_; |
1317 }; | 1317 }; |
1318 | 1318 |
1319 | 1319 |
1320 } } // namespace v8::internal | 1320 } } // namespace v8::internal |
1321 | 1321 |
1322 #endif // V8_HYDROGEN_H_ | 1322 #endif // V8_HYDROGEN_H_ |
OLD | NEW |