| 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 2726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2737 next_block_(NULL), | 2737 next_block_(NULL), |
| 2738 argument_count_(0), | 2738 argument_count_(0), |
| 2739 allocator_(allocator), | 2739 allocator_(allocator), |
| 2740 position_(RelocInfo::kNoPosition), | 2740 position_(RelocInfo::kNoPosition), |
| 2741 instruction_pending_deoptimization_environment_(NULL), | 2741 instruction_pending_deoptimization_environment_(NULL), |
| 2742 pending_deoptimization_ast_id_(BailoutId::None()) { } | 2742 pending_deoptimization_ast_id_(BailoutId::None()) { } |
| 2743 | 2743 |
| 2744 // Build the sequence for the graph. | 2744 // Build the sequence for the graph. |
| 2745 LPlatformChunk* Build(); | 2745 LPlatformChunk* Build(); |
| 2746 | 2746 |
| 2747 LInstruction* ElideControlInstruction(HControlInstruction* instr, |
| 2748 bool condition); |
| 2749 |
| 2750 void PropagateUnreachableBlockMarks(); |
| 2751 |
| 2747 // Declare methods that deal with the individual node types. | 2752 // Declare methods that deal with the individual node types. |
| 2748 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2753 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
| 2749 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2754 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 2750 #undef DECLARE_DO | 2755 #undef DECLARE_DO |
| 2751 | 2756 |
| 2752 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); | 2757 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); |
| 2753 | 2758 |
| 2754 LInstruction* DoMathFloor(HUnaryMathOperation* instr); | 2759 LInstruction* DoMathFloor(HUnaryMathOperation* instr); |
| 2755 LInstruction* DoMathRound(HUnaryMathOperation* instr); | 2760 LInstruction* DoMathRound(HUnaryMathOperation* instr); |
| 2756 LInstruction* DoMathAbs(HUnaryMathOperation* instr); | 2761 LInstruction* DoMathAbs(HUnaryMathOperation* instr); |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2899 | 2904 |
| 2900 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2905 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2901 }; | 2906 }; |
| 2902 | 2907 |
| 2903 #undef DECLARE_HYDROGEN_ACCESSOR | 2908 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2904 #undef DECLARE_CONCRETE_INSTRUCTION | 2909 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2905 | 2910 |
| 2906 } } // namespace v8::internal | 2911 } } // namespace v8::internal |
| 2907 | 2912 |
| 2908 #endif // V8_IA32_LITHIUM_IA32_H_ | 2913 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |