OLD | NEW |
---|---|
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
772 } | 772 } |
773 | 773 |
774 // Generators for inline runtime functions. | 774 // Generators for inline runtime functions. |
775 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ | 775 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ |
776 void Generate##Name(CallRuntime* call); | 776 void Generate##Name(CallRuntime* call); |
777 | 777 |
778 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) | 778 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
779 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) | 779 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
780 #undef INLINE_FUNCTION_GENERATOR_DECLARATION | 780 #undef INLINE_FUNCTION_GENERATOR_DECLARATION |
781 | 781 |
782 void EmitDeclaration(VariableProxy* proxy, | |
Kevin Millikin (Chromium)
2011/09/01 15:40:58
Don't call this Emit, save that for things that ge
fschneider
2011/09/01 16:28:21
Done.
| |
783 Variable::Mode mode, | |
784 FunctionLiteral* function); | |
785 | |
782 void VisitDelete(UnaryOperation* expr); | 786 void VisitDelete(UnaryOperation* expr); |
783 void VisitVoid(UnaryOperation* expr); | 787 void VisitVoid(UnaryOperation* expr); |
784 void VisitTypeof(UnaryOperation* expr); | 788 void VisitTypeof(UnaryOperation* expr); |
785 void VisitAdd(UnaryOperation* expr); | 789 void VisitAdd(UnaryOperation* expr); |
786 void VisitSub(UnaryOperation* expr); | 790 void VisitSub(UnaryOperation* expr); |
787 void VisitBitNot(UnaryOperation* expr); | 791 void VisitBitNot(UnaryOperation* expr); |
788 void VisitNot(UnaryOperation* expr); | 792 void VisitNot(UnaryOperation* expr); |
789 | 793 |
790 void VisitComma(BinaryOperation* expr); | 794 void VisitComma(BinaryOperation* expr); |
791 void VisitLogicalExpression(BinaryOperation* expr); | 795 void VisitLogicalExpression(BinaryOperation* expr); |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1229 const char* filename_; | 1233 const char* filename_; |
1230 HeapStringAllocator string_allocator_; | 1234 HeapStringAllocator string_allocator_; |
1231 StringStream trace_; | 1235 StringStream trace_; |
1232 int indent_; | 1236 int indent_; |
1233 }; | 1237 }; |
1234 | 1238 |
1235 | 1239 |
1236 } } // namespace v8::internal | 1240 } } // namespace v8::internal |
1237 | 1241 |
1238 #endif // V8_HYDROGEN_H_ | 1242 #endif // V8_HYDROGEN_H_ |
OLD | NEW |