| 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 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 781 void VisitBitNot(UnaryOperation* expr); | 781 void VisitBitNot(UnaryOperation* expr); |
| 782 void VisitNot(UnaryOperation* expr); | 782 void VisitNot(UnaryOperation* expr); |
| 783 | 783 |
| 784 void VisitComma(BinaryOperation* expr); | 784 void VisitComma(BinaryOperation* expr); |
| 785 void VisitLogicalExpression(BinaryOperation* expr); | 785 void VisitLogicalExpression(BinaryOperation* expr); |
| 786 void VisitArithmeticExpression(BinaryOperation* expr); | 786 void VisitArithmeticExpression(BinaryOperation* expr); |
| 787 | 787 |
| 788 void PreProcessOsrEntry(IterationStatement* statement); | 788 void PreProcessOsrEntry(IterationStatement* statement); |
| 789 // True iff. we are compiling for OSR and the statement is the entry. | 789 // True iff. we are compiling for OSR and the statement is the entry. |
| 790 bool HasOsrEntryAt(IterationStatement* statement); | 790 bool HasOsrEntryAt(IterationStatement* statement); |
| 791 void VisitLoopBody(Statement* body, | 791 void VisitLoopBody(IterationStatement* stmt, |
| 792 HBasicBlock* loop_entry, | 792 HBasicBlock* loop_entry, |
| 793 BreakAndContinueInfo* break_info); | 793 BreakAndContinueInfo* break_info); |
| 794 | 794 |
| 795 // Create a back edge in the flow graph. body_exit is the predecessor | 795 // Create a back edge in the flow graph. body_exit is the predecessor |
| 796 // block and loop_entry is the successor block. loop_successor is the | 796 // block and loop_entry is the successor block. loop_successor is the |
| 797 // block where control flow exits the loop normally (e.g., via failure of | 797 // block where control flow exits the loop normally (e.g., via failure of |
| 798 // the condition) and break_block is the block where control flow breaks | 798 // the condition) and break_block is the block where control flow breaks |
| 799 // from the loop. All blocks except loop_entry can be NULL. The return | 799 // from the loop. All blocks except loop_entry can be NULL. The return |
| 800 // value is the new successor block which is the join of loop_successor | 800 // value is the new successor block which is the join of loop_successor |
| 801 // and break_block, or NULL. | 801 // and break_block, or NULL. |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1220 const char* filename_; | 1220 const char* filename_; |
| 1221 HeapStringAllocator string_allocator_; | 1221 HeapStringAllocator string_allocator_; |
| 1222 StringStream trace_; | 1222 StringStream trace_; |
| 1223 int indent_; | 1223 int indent_; |
| 1224 }; | 1224 }; |
| 1225 | 1225 |
| 1226 | 1226 |
| 1227 } } // namespace v8::internal | 1227 } } // namespace v8::internal |
| 1228 | 1228 |
| 1229 #endif // V8_HYDROGEN_H_ | 1229 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |