| 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 2501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2512 next_block_(NULL), | 2512 next_block_(NULL), |
| 2513 argument_count_(0), | 2513 argument_count_(0), |
| 2514 allocator_(allocator), | 2514 allocator_(allocator), |
| 2515 position_(RelocInfo::kNoPosition), | 2515 position_(RelocInfo::kNoPosition), |
| 2516 instruction_pending_deoptimization_environment_(NULL), | 2516 instruction_pending_deoptimization_environment_(NULL), |
| 2517 pending_deoptimization_ast_id_(BailoutId::None()) { } | 2517 pending_deoptimization_ast_id_(BailoutId::None()) { } |
| 2518 | 2518 |
| 2519 // Build the sequence for the graph. | 2519 // Build the sequence for the graph. |
| 2520 LPlatformChunk* Build(); | 2520 LPlatformChunk* Build(); |
| 2521 | 2521 |
| 2522 LInstruction* ElideControlInstruction(HControlInstruction* instr, |
| 2523 bool condition); |
| 2524 |
| 2525 void PropagateUnreachableBlockMarks(); |
| 2526 |
| 2522 // Declare methods that deal with the individual node types. | 2527 // Declare methods that deal with the individual node types. |
| 2523 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2528 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
| 2524 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2529 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 2525 #undef DECLARE_DO | 2530 #undef DECLARE_DO |
| 2526 | 2531 |
| 2527 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); | 2532 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); |
| 2528 | 2533 |
| 2529 LInstruction* DoMathFloor(HUnaryMathOperation* instr); | 2534 LInstruction* DoMathFloor(HUnaryMathOperation* instr); |
| 2530 LInstruction* DoMathRound(HUnaryMathOperation* instr); | 2535 LInstruction* DoMathRound(HUnaryMathOperation* instr); |
| 2531 LInstruction* DoMathAbs(HUnaryMathOperation* instr); | 2536 LInstruction* DoMathAbs(HUnaryMathOperation* instr); |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2669 | 2674 |
| 2670 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2675 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2671 }; | 2676 }; |
| 2672 | 2677 |
| 2673 #undef DECLARE_HYDROGEN_ACCESSOR | 2678 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2674 #undef DECLARE_CONCRETE_INSTRUCTION | 2679 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2675 | 2680 |
| 2676 } } // namespace v8::int | 2681 } } // namespace v8::int |
| 2677 | 2682 |
| 2678 #endif // V8_X64_LITHIUM_X64_H_ | 2683 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |