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 2572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2583 pending_deoptimization_ast_id_(BailoutId::None()) { } | 2583 pending_deoptimization_ast_id_(BailoutId::None()) { } |
2584 | 2584 |
2585 // Build the sequence for the graph. | 2585 // Build the sequence for the graph. |
2586 LPlatformChunk* Build(); | 2586 LPlatformChunk* Build(); |
2587 | 2587 |
2588 // Declare methods that deal with the individual node types. | 2588 // Declare methods that deal with the individual node types. |
2589 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2589 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
2590 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2590 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
2591 #undef DECLARE_DO | 2591 #undef DECLARE_DO |
2592 | 2592 |
2593 static HValue* SimplifiedDividendForMathFloorOfDiv(HValue* val); | |
2594 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); | 2593 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); |
2595 | 2594 |
2596 LInstruction* DoMathFloor(HUnaryMathOperation* instr); | 2595 LInstruction* DoMathFloor(HUnaryMathOperation* instr); |
2597 LInstruction* DoMathRound(HUnaryMathOperation* instr); | 2596 LInstruction* DoMathRound(HUnaryMathOperation* instr); |
2598 LInstruction* DoMathAbs(HUnaryMathOperation* instr); | 2597 LInstruction* DoMathAbs(HUnaryMathOperation* instr); |
2599 LInstruction* DoMathLog(HUnaryMathOperation* instr); | 2598 LInstruction* DoMathLog(HUnaryMathOperation* instr); |
2600 LInstruction* DoMathSin(HUnaryMathOperation* instr); | 2599 LInstruction* DoMathSin(HUnaryMathOperation* instr); |
2601 LInstruction* DoMathCos(HUnaryMathOperation* instr); | 2600 LInstruction* DoMathCos(HUnaryMathOperation* instr); |
2602 LInstruction* DoMathTan(HUnaryMathOperation* instr); | 2601 LInstruction* DoMathTan(HUnaryMathOperation* instr); |
2603 LInstruction* DoMathExp(HUnaryMathOperation* instr); | 2602 LInstruction* DoMathExp(HUnaryMathOperation* instr); |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2735 | 2734 |
2736 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2735 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2737 }; | 2736 }; |
2738 | 2737 |
2739 #undef DECLARE_HYDROGEN_ACCESSOR | 2738 #undef DECLARE_HYDROGEN_ACCESSOR |
2740 #undef DECLARE_CONCRETE_INSTRUCTION | 2739 #undef DECLARE_CONCRETE_INSTRUCTION |
2741 | 2740 |
2742 } } // namespace v8::int | 2741 } } // namespace v8::int |
2743 | 2742 |
2744 #endif // V8_X64_LITHIUM_X64_H_ | 2743 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |