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 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 FunctionLiteral* function); | 741 FunctionLiteral* function); |
742 | 742 |
743 // Helpers for flow graph construction. | 743 // Helpers for flow graph construction. |
744 void LookupGlobalPropertyCell(Variable* var, | 744 void LookupGlobalPropertyCell(Variable* var, |
745 LookupResult* lookup, | 745 LookupResult* lookup, |
746 bool is_store); | 746 bool is_store); |
747 | 747 |
748 bool TryArgumentsAccess(Property* expr); | 748 bool TryArgumentsAccess(Property* expr); |
749 bool TryCallApply(Call* expr); | 749 bool TryCallApply(Call* expr); |
750 bool TryInline(Call* expr); | 750 bool TryInline(Call* expr); |
751 bool TryMathFunctionInline(Call* expr); | 751 bool TryInlineBuiltinFunction(Call* expr, |
| 752 HValue* receiver, |
| 753 Handle<Map> receiver_map, |
| 754 CheckType check_type); |
752 void TraceInline(Handle<JSFunction> target, bool result); | 755 void TraceInline(Handle<JSFunction> target, bool result); |
753 | 756 |
754 void HandleGlobalVariableAssignment(Variable* var, | 757 void HandleGlobalVariableAssignment(Variable* var, |
755 HValue* value, | 758 HValue* value, |
756 int position, | 759 int position, |
757 int ast_id); | 760 int ast_id); |
758 | 761 |
759 void HandlePropertyAssignment(Assignment* expr); | 762 void HandlePropertyAssignment(Assignment* expr); |
760 void HandleCompoundAssignment(Assignment* expr); | 763 void HandleCompoundAssignment(Assignment* expr); |
761 void HandlePolymorphicLoadNamedField(Property* expr, | 764 void HandlePolymorphicLoadNamedField(Property* expr, |
762 HValue* object, | 765 HValue* object, |
763 ZoneMapList* types, | 766 ZoneMapList* types, |
764 Handle<String> name); | 767 Handle<String> name); |
765 void HandlePolymorphicStoreNamedField(Assignment* expr, | 768 void HandlePolymorphicStoreNamedField(Assignment* expr, |
766 HValue* object, | 769 HValue* object, |
767 HValue* value, | 770 HValue* value, |
768 ZoneMapList* types, | 771 ZoneMapList* types, |
769 Handle<String> name); | 772 Handle<String> name); |
770 void HandlePolymorphicCallNamed(Call* expr, | 773 void HandlePolymorphicCallNamed(Call* expr, |
771 HValue* receiver, | 774 HValue* receiver, |
772 ZoneMapList* types, | 775 ZoneMapList* types, |
773 Handle<String> name); | 776 Handle<String> name); |
774 | 777 |
| 778 HStringCharCodeAt* BuildStringCharCodeAt(HValue* string, |
| 779 HValue* index); |
775 HInstruction* BuildBinaryOperation(BinaryOperation* expr, | 780 HInstruction* BuildBinaryOperation(BinaryOperation* expr, |
776 HValue* left, | 781 HValue* left, |
777 HValue* right); | 782 HValue* right); |
778 HInstruction* BuildIncrement(HValue* value, bool increment); | 783 HInstruction* BuildIncrement(HValue* value, bool increment); |
779 HLoadNamedField* BuildLoadNamedField(HValue* object, | 784 HLoadNamedField* BuildLoadNamedField(HValue* object, |
780 Property* expr, | 785 Property* expr, |
781 Handle<Map> type, | 786 Handle<Map> type, |
782 LookupResult* result, | 787 LookupResult* result, |
783 bool smi_and_map_check); | 788 bool smi_and_map_check); |
784 HInstruction* BuildLoadNamedGeneric(HValue* object, Property* expr); | 789 HInstruction* BuildLoadNamedGeneric(HValue* object, Property* expr); |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 const char* filename_; | 1065 const char* filename_; |
1061 HeapStringAllocator string_allocator_; | 1066 HeapStringAllocator string_allocator_; |
1062 StringStream trace_; | 1067 StringStream trace_; |
1063 int indent_; | 1068 int indent_; |
1064 }; | 1069 }; |
1065 | 1070 |
1066 | 1071 |
1067 } } // namespace v8::internal | 1072 } } // namespace v8::internal |
1068 | 1073 |
1069 #endif // V8_HYDROGEN_H_ | 1074 #endif // V8_HYDROGEN_H_ |
OLD | NEW |