Chromium Code Reviews| 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 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 728 } | 728 } |
| 729 | 729 |
| 730 // Generators for inline runtime functions. | 730 // Generators for inline runtime functions. |
| 731 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ | 731 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ |
| 732 void Generate##Name(CallRuntime* call); | 732 void Generate##Name(CallRuntime* call); |
| 733 | 733 |
| 734 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) | 734 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
| 735 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) | 735 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
| 736 #undef INLINE_FUNCTION_GENERATOR_DECLARATION | 736 #undef INLINE_FUNCTION_GENERATOR_DECLARATION |
| 737 | 737 |
| 738 void VisitUnaryOperationDelete(UnaryOperation* expr); | |
|
Kevin Millikin (Chromium)
2011/05/09 15:14:05
I'm not a fan of such verbose names. I think Unar
Sven Panne
2011/05/10 07:48:47
Done.
| |
| 739 void VisitUnaryOperationVoid(UnaryOperation* expr); | |
| 740 void VisitUnaryOperationTypeof(UnaryOperation* expr); | |
| 741 void VisitUnaryOperationAdd(UnaryOperation* expr); | |
| 742 void VisitUnaryOperationSub(UnaryOperation* expr); | |
| 743 void VisitUnaryOperationBitNot(UnaryOperation* expr); | |
| 744 void VisitUnaryOperationNot(UnaryOperation* expr); | |
| 745 | |
| 746 void VisitBinaryOperationComma(BinaryOperation* expr); | |
| 747 void VisitBinaryOperationAndOr(BinaryOperation* expr, bool is_logical_and); | |
| 748 void VisitBinaryOperationCommon(BinaryOperation* expr); | |
| 749 | |
| 738 void PreProcessOsrEntry(IterationStatement* statement); | 750 void PreProcessOsrEntry(IterationStatement* statement); |
| 739 // True iff. we are compiling for OSR and the statement is the entry. | 751 // True iff. we are compiling for OSR and the statement is the entry. |
| 740 bool HasOsrEntryAt(IterationStatement* statement); | 752 bool HasOsrEntryAt(IterationStatement* statement); |
| 741 | 753 |
| 742 HBasicBlock* CreateJoin(HBasicBlock* first, | 754 HBasicBlock* CreateJoin(HBasicBlock* first, |
| 743 HBasicBlock* second, | 755 HBasicBlock* second, |
| 744 int join_id); | 756 int join_id); |
| 745 | 757 |
| 746 // Create a back edge in the flow graph. body_exit is the predecessor | 758 // Create a back edge in the flow graph. body_exit is the predecessor |
| 747 // block and loop_entry is the successor block. loop_successor is the | 759 // block and loop_entry is the successor block. loop_successor is the |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 841 void HandlePolymorphicCallNamed(Call* expr, | 853 void HandlePolymorphicCallNamed(Call* expr, |
| 842 HValue* receiver, | 854 HValue* receiver, |
| 843 ZoneMapList* types, | 855 ZoneMapList* types, |
| 844 Handle<String> name); | 856 Handle<String> name); |
| 845 | 857 |
| 846 HStringCharCodeAt* BuildStringCharCodeAt(HValue* string, | 858 HStringCharCodeAt* BuildStringCharCodeAt(HValue* string, |
| 847 HValue* index); | 859 HValue* index); |
| 848 HInstruction* BuildBinaryOperation(BinaryOperation* expr, | 860 HInstruction* BuildBinaryOperation(BinaryOperation* expr, |
| 849 HValue* left, | 861 HValue* left, |
| 850 HValue* right); | 862 HValue* right); |
| 863 HInstruction* BuildBinaryOperation(Token::Value op, HValue* left, | |
|
fschneider
2011/05/09 15:05:35
At the declaration we usually break the line for e
Sven Panne
2011/05/10 07:48:47
Done.
| |
| 864 HValue* right, TypeInfo info); | |
| 851 HInstruction* BuildIncrement(HValue* value, | 865 HInstruction* BuildIncrement(HValue* value, |
| 852 bool increment, | 866 bool increment, |
| 853 CountOperation* expr); | 867 CountOperation* expr); |
| 854 HLoadNamedField* BuildLoadNamedField(HValue* object, | 868 HLoadNamedField* BuildLoadNamedField(HValue* object, |
| 855 Property* expr, | 869 Property* expr, |
| 856 Handle<Map> type, | 870 Handle<Map> type, |
| 857 LookupResult* result, | 871 LookupResult* result, |
| 858 bool smi_and_map_check); | 872 bool smi_and_map_check); |
| 859 HInstruction* BuildLoadNamedGeneric(HValue* object, Property* expr); | 873 HInstruction* BuildLoadNamedGeneric(HValue* object, Property* expr); |
| 860 HInstruction* BuildLoadKeyedFastElement(HValue* object, | 874 HInstruction* BuildLoadKeyedFastElement(HValue* object, |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1158 const char* filename_; | 1172 const char* filename_; |
| 1159 HeapStringAllocator string_allocator_; | 1173 HeapStringAllocator string_allocator_; |
| 1160 StringStream trace_; | 1174 StringStream trace_; |
| 1161 int indent_; | 1175 int indent_; |
| 1162 }; | 1176 }; |
| 1163 | 1177 |
| 1164 | 1178 |
| 1165 } } // namespace v8::internal | 1179 } } // namespace v8::internal |
| 1166 | 1180 |
| 1167 #endif // V8_HYDROGEN_H_ | 1181 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |