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 797 matching lines...) Loading... |
808 } | 808 } |
809 | 809 |
810 // Generators for inline runtime functions. | 810 // Generators for inline runtime functions. |
811 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ | 811 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ |
812 void Generate##Name(CallRuntime* call); | 812 void Generate##Name(CallRuntime* call); |
813 | 813 |
814 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) | 814 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
815 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) | 815 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
816 #undef INLINE_FUNCTION_GENERATOR_DECLARATION | 816 #undef INLINE_FUNCTION_GENERATOR_DECLARATION |
817 | 817 |
818 void HandleDeclaration(VariableProxy* proxy, | 818 void HandleVariableDeclaration(VariableProxy* proxy, |
819 VariableMode mode, | 819 VariableMode mode, |
820 FunctionLiteral* function); | 820 FunctionLiteral* function); |
821 | 821 |
822 void VisitDelete(UnaryOperation* expr); | 822 void VisitDelete(UnaryOperation* expr); |
823 void VisitVoid(UnaryOperation* expr); | 823 void VisitVoid(UnaryOperation* expr); |
824 void VisitTypeof(UnaryOperation* expr); | 824 void VisitTypeof(UnaryOperation* expr); |
825 void VisitAdd(UnaryOperation* expr); | 825 void VisitAdd(UnaryOperation* expr); |
826 void VisitSub(UnaryOperation* expr); | 826 void VisitSub(UnaryOperation* expr); |
827 void VisitBitNot(UnaryOperation* expr); | 827 void VisitBitNot(UnaryOperation* expr); |
828 void VisitNot(UnaryOperation* expr); | 828 void VisitNot(UnaryOperation* expr); |
829 | 829 |
830 void VisitComma(BinaryOperation* expr); | 830 void VisitComma(BinaryOperation* expr); |
(...skipping 445 matching lines...) Loading... |
1276 const char* filename_; | 1276 const char* filename_; |
1277 HeapStringAllocator string_allocator_; | 1277 HeapStringAllocator string_allocator_; |
1278 StringStream trace_; | 1278 StringStream trace_; |
1279 int indent_; | 1279 int indent_; |
1280 }; | 1280 }; |
1281 | 1281 |
1282 | 1282 |
1283 } } // namespace v8::internal | 1283 } } // namespace v8::internal |
1284 | 1284 |
1285 #endif // V8_HYDROGEN_H_ | 1285 #endif // V8_HYDROGEN_H_ |
OLD | NEW |