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 2795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2806 pending_deoptimization_ast_id_(BailoutId::None()) { } | 2806 pending_deoptimization_ast_id_(BailoutId::None()) { } |
2807 | 2807 |
2808 // Build the sequence for the graph. | 2808 // Build the sequence for the graph. |
2809 LPlatformChunk* Build(); | 2809 LPlatformChunk* Build(); |
2810 | 2810 |
2811 // Declare methods that deal with the individual node types. | 2811 // Declare methods that deal with the individual node types. |
2812 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2812 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
2813 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2813 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
2814 #undef DECLARE_DO | 2814 #undef DECLARE_DO |
2815 | 2815 |
2816 static HValue* SimplifiedDividendForMathFloorOfDiv(HValue* val); | |
2817 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); | 2816 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); |
2818 | 2817 |
2819 LInstruction* DoMathFloor(HUnaryMathOperation* instr); | 2818 LInstruction* DoMathFloor(HUnaryMathOperation* instr); |
2820 LInstruction* DoMathRound(HUnaryMathOperation* instr); | 2819 LInstruction* DoMathRound(HUnaryMathOperation* instr); |
2821 LInstruction* DoMathAbs(HUnaryMathOperation* instr); | 2820 LInstruction* DoMathAbs(HUnaryMathOperation* instr); |
2822 LInstruction* DoMathLog(HUnaryMathOperation* instr); | 2821 LInstruction* DoMathLog(HUnaryMathOperation* instr); |
2823 LInstruction* DoMathSin(HUnaryMathOperation* instr); | 2822 LInstruction* DoMathSin(HUnaryMathOperation* instr); |
2824 LInstruction* DoMathCos(HUnaryMathOperation* instr); | 2823 LInstruction* DoMathCos(HUnaryMathOperation* instr); |
2825 LInstruction* DoMathTan(HUnaryMathOperation* instr); | 2824 LInstruction* DoMathTan(HUnaryMathOperation* instr); |
2826 LInstruction* DoMathExp(HUnaryMathOperation* instr); | 2825 LInstruction* DoMathExp(HUnaryMathOperation* instr); |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2964 | 2963 |
2965 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2964 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2966 }; | 2965 }; |
2967 | 2966 |
2968 #undef DECLARE_HYDROGEN_ACCESSOR | 2967 #undef DECLARE_HYDROGEN_ACCESSOR |
2969 #undef DECLARE_CONCRETE_INSTRUCTION | 2968 #undef DECLARE_CONCRETE_INSTRUCTION |
2970 | 2969 |
2971 } } // namespace v8::internal | 2970 } } // namespace v8::internal |
2972 | 2971 |
2973 #endif // V8_IA32_LITHIUM_IA32_H_ | 2972 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |