| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 2675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2686 | 2686 |
| 2687 // Build the sequence for the graph. | 2687 // Build the sequence for the graph. |
| 2688 LPlatformChunk* Build(); | 2688 LPlatformChunk* Build(); |
| 2689 | 2689 |
| 2690 // Declare methods that deal with the individual node types. | 2690 // Declare methods that deal with the individual node types. |
| 2691 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2691 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
| 2692 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2692 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 2693 #undef DECLARE_DO | 2693 #undef DECLARE_DO |
| 2694 | 2694 |
| 2695 static bool HasMagicNumberForDivision(int32_t divisor); | 2695 static bool HasMagicNumberForDivision(int32_t divisor); |
| 2696 static HValue* SimplifiedDividendForMathFloorOfDiv(HValue* val); | |
| 2697 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); | 2696 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); |
| 2698 | 2697 |
| 2699 private: | 2698 private: |
| 2700 enum Status { | 2699 enum Status { |
| 2701 UNUSED, | 2700 UNUSED, |
| 2702 BUILDING, | 2701 BUILDING, |
| 2703 DONE, | 2702 DONE, |
| 2704 ABORTED | 2703 ABORTED |
| 2705 }; | 2704 }; |
| 2706 | 2705 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2828 | 2827 |
| 2829 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2828 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2830 }; | 2829 }; |
| 2831 | 2830 |
| 2832 #undef DECLARE_HYDROGEN_ACCESSOR | 2831 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2833 #undef DECLARE_CONCRETE_INSTRUCTION | 2832 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2834 | 2833 |
| 2835 } } // namespace v8::internal | 2834 } } // namespace v8::internal |
| 2836 | 2835 |
| 2837 #endif // V8_A64_LITHIUM_A64_H_ | 2836 #endif // V8_A64_LITHIUM_A64_H_ |
| OLD | NEW |