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 2600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2611 // Build the sequence for the graph. | 2611 // Build the sequence for the graph. |
2612 LPlatformChunk* Build(); | 2612 LPlatformChunk* Build(); |
2613 | 2613 |
2614 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); | 2614 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); |
2615 | 2615 |
2616 // Declare methods that deal with the individual node types. | 2616 // Declare methods that deal with the individual node types. |
2617 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2617 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
2618 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2618 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
2619 #undef DECLARE_DO | 2619 #undef DECLARE_DO |
2620 | 2620 |
2621 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); | |
2622 | |
2623 LInstruction* DoMathFloor(HUnaryMathOperation* instr); | 2621 LInstruction* DoMathFloor(HUnaryMathOperation* instr); |
2624 LInstruction* DoMathRound(HUnaryMathOperation* instr); | 2622 LInstruction* DoMathRound(HUnaryMathOperation* instr); |
2625 LInstruction* DoMathAbs(HUnaryMathOperation* instr); | 2623 LInstruction* DoMathAbs(HUnaryMathOperation* instr); |
2626 LInstruction* DoMathLog(HUnaryMathOperation* instr); | 2624 LInstruction* DoMathLog(HUnaryMathOperation* instr); |
2627 LInstruction* DoMathExp(HUnaryMathOperation* instr); | 2625 LInstruction* DoMathExp(HUnaryMathOperation* instr); |
2628 LInstruction* DoMathSqrt(HUnaryMathOperation* instr); | 2626 LInstruction* DoMathSqrt(HUnaryMathOperation* instr); |
2629 LInstruction* DoMathPowHalf(HUnaryMathOperation* instr); | 2627 LInstruction* DoMathPowHalf(HUnaryMathOperation* instr); |
2630 | 2628 |
2631 private: | 2629 private: |
2632 enum Status { | 2630 enum Status { |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2749 | 2747 |
2750 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2748 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2751 }; | 2749 }; |
2752 | 2750 |
2753 #undef DECLARE_HYDROGEN_ACCESSOR | 2751 #undef DECLARE_HYDROGEN_ACCESSOR |
2754 #undef DECLARE_CONCRETE_INSTRUCTION | 2752 #undef DECLARE_CONCRETE_INSTRUCTION |
2755 | 2753 |
2756 } } // namespace v8::int | 2754 } } // namespace v8::int |
2757 | 2755 |
2758 #endif // V8_X64_LITHIUM_X64_H_ | 2756 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |