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 1606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1617 HBasicBlock* false_block); | 1617 HBasicBlock* false_block); |
1618 | 1618 |
1619 // Visit an argument subexpression and emit a push to the outgoing arguments. | 1619 // Visit an argument subexpression and emit a push to the outgoing arguments. |
1620 void VisitArgument(Expression* expr); | 1620 void VisitArgument(Expression* expr); |
1621 | 1621 |
1622 void VisitArgumentList(ZoneList<Expression*>* arguments); | 1622 void VisitArgumentList(ZoneList<Expression*>* arguments); |
1623 | 1623 |
1624 // Visit a list of expressions from left to right, each in a value context. | 1624 // Visit a list of expressions from left to right, each in a value context. |
1625 void VisitExpressions(ZoneList<Expression*>* exprs); | 1625 void VisitExpressions(ZoneList<Expression*>* exprs); |
1626 | 1626 |
1627 void AddPhi(HPhi* phi); | |
1628 | |
1629 void PushAndAdd(HInstruction* instr); | 1627 void PushAndAdd(HInstruction* instr); |
1630 | 1628 |
1631 // Remove the arguments from the bailout environment and emit instructions | 1629 // Remove the arguments from the bailout environment and emit instructions |
1632 // to push them as outgoing parameters. | 1630 // to push them as outgoing parameters. |
1633 template <class Instruction> HInstruction* PreProcessCall(Instruction* call); | 1631 template <class Instruction> HInstruction* PreProcessCall(Instruction* call); |
1634 | 1632 |
1635 static Representation ToRepresentation(TypeInfo info); | 1633 static Representation ToRepresentation(TypeInfo info); |
1636 static Representation ToRepresentation(Handle<Type> type); | 1634 static Representation ToRepresentation(Handle<Type> type); |
1637 | 1635 |
1638 void SetUpScope(Scope* scope); | 1636 void SetUpScope(Scope* scope); |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2051 EmbeddedVector<char, 64> filename_; | 2049 EmbeddedVector<char, 64> filename_; |
2052 HeapStringAllocator string_allocator_; | 2050 HeapStringAllocator string_allocator_; |
2053 StringStream trace_; | 2051 StringStream trace_; |
2054 int indent_; | 2052 int indent_; |
2055 }; | 2053 }; |
2056 | 2054 |
2057 | 2055 |
2058 } } // namespace v8::internal | 2056 } } // namespace v8::internal |
2059 | 2057 |
2060 #endif // V8_HYDROGEN_H_ | 2058 #endif // V8_HYDROGEN_H_ |
OLD | NEW |