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 2685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2696 // Build the sequence for the graph. | 2696 // Build the sequence for the graph. |
2697 LPlatformChunk* Build(); | 2697 LPlatformChunk* Build(); |
2698 | 2698 |
2699 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); | 2699 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); |
2700 | 2700 |
2701 // Declare methods that deal with the individual node types. | 2701 // Declare methods that deal with the individual node types. |
2702 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2702 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
2703 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2703 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
2704 #undef DECLARE_DO | 2704 #undef DECLARE_DO |
2705 | 2705 |
2706 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); | |
2707 | |
2708 LInstruction* DoMathFloor(HUnaryMathOperation* instr); | 2706 LInstruction* DoMathFloor(HUnaryMathOperation* instr); |
2709 LInstruction* DoMathRound(HUnaryMathOperation* instr); | 2707 LInstruction* DoMathRound(HUnaryMathOperation* instr); |
2710 LInstruction* DoMathAbs(HUnaryMathOperation* instr); | 2708 LInstruction* DoMathAbs(HUnaryMathOperation* instr); |
2711 LInstruction* DoMathLog(HUnaryMathOperation* instr); | 2709 LInstruction* DoMathLog(HUnaryMathOperation* instr); |
2712 LInstruction* DoMathExp(HUnaryMathOperation* instr); | 2710 LInstruction* DoMathExp(HUnaryMathOperation* instr); |
2713 LInstruction* DoMathSqrt(HUnaryMathOperation* instr); | 2711 LInstruction* DoMathSqrt(HUnaryMathOperation* instr); |
2714 LInstruction* DoMathPowHalf(HUnaryMathOperation* instr); | 2712 LInstruction* DoMathPowHalf(HUnaryMathOperation* instr); |
2715 | 2713 |
2716 private: | 2714 private: |
2717 enum Status { | 2715 enum Status { |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2841 | 2839 |
2842 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2840 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2843 }; | 2841 }; |
2844 | 2842 |
2845 #undef DECLARE_HYDROGEN_ACCESSOR | 2843 #undef DECLARE_HYDROGEN_ACCESSOR |
2846 #undef DECLARE_CONCRETE_INSTRUCTION | 2844 #undef DECLARE_CONCRETE_INSTRUCTION |
2847 | 2845 |
2848 } } // namespace v8::internal | 2846 } } // namespace v8::internal |
2849 | 2847 |
2850 #endif // V8_IA32_LITHIUM_IA32_H_ | 2848 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |