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 2753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2764 next_block_(NULL), | 2764 next_block_(NULL), |
2765 argument_count_(0), | 2765 argument_count_(0), |
2766 allocator_(allocator), | 2766 allocator_(allocator), |
2767 position_(RelocInfo::kNoPosition), | 2767 position_(RelocInfo::kNoPosition), |
2768 instruction_pending_deoptimization_environment_(NULL), | 2768 instruction_pending_deoptimization_environment_(NULL), |
2769 pending_deoptimization_ast_id_(BailoutId::None()) { } | 2769 pending_deoptimization_ast_id_(BailoutId::None()) { } |
2770 | 2770 |
2771 // Build the sequence for the graph. | 2771 // Build the sequence for the graph. |
2772 LPlatformChunk* Build(); | 2772 LPlatformChunk* Build(); |
2773 | 2773 |
| 2774 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); |
| 2775 |
2774 // Declare methods that deal with the individual node types. | 2776 // Declare methods that deal with the individual node types. |
2775 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2777 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
2776 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2778 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
2777 #undef DECLARE_DO | 2779 #undef DECLARE_DO |
2778 | 2780 |
2779 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); | 2781 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); |
2780 | 2782 |
2781 LInstruction* DoMathFloor(HUnaryMathOperation* instr); | 2783 LInstruction* DoMathFloor(HUnaryMathOperation* instr); |
2782 LInstruction* DoMathRound(HUnaryMathOperation* instr); | 2784 LInstruction* DoMathRound(HUnaryMathOperation* instr); |
2783 LInstruction* DoMathAbs(HUnaryMathOperation* instr); | 2785 LInstruction* DoMathAbs(HUnaryMathOperation* instr); |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2926 | 2928 |
2927 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2929 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2928 }; | 2930 }; |
2929 | 2931 |
2930 #undef DECLARE_HYDROGEN_ACCESSOR | 2932 #undef DECLARE_HYDROGEN_ACCESSOR |
2931 #undef DECLARE_CONCRETE_INSTRUCTION | 2933 #undef DECLARE_CONCRETE_INSTRUCTION |
2932 | 2934 |
2933 } } // namespace v8::internal | 2935 } } // namespace v8::internal |
2934 | 2936 |
2935 #endif // V8_IA32_LITHIUM_IA32_H_ | 2937 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |