| OLD | NEW | 
|---|
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ | 5 #ifndef V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ | 
| 6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ | 6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ | 
| 7 | 7 | 
| 8 #include "src/crankshaft/hydrogen.h" | 8 #include "src/crankshaft/hydrogen.h" | 
| 9 #include "src/crankshaft/lithium.h" | 9 #include "src/crankshaft/lithium.h" | 
| 10 #include "src/crankshaft/lithium-allocator.h" | 10 #include "src/crankshaft/lithium-allocator.h" | 
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 57   V(ConstantI)                               \ | 57   V(ConstantI)                               \ | 
| 58   V(ConstantS)                               \ | 58   V(ConstantS)                               \ | 
| 59   V(ConstantT)                               \ | 59   V(ConstantT)                               \ | 
| 60   V(Context)                                 \ | 60   V(Context)                                 \ | 
| 61   V(DebugBreak)                              \ | 61   V(DebugBreak)                              \ | 
| 62   V(DeclareGlobals)                          \ | 62   V(DeclareGlobals)                          \ | 
| 63   V(Deoptimize)                              \ | 63   V(Deoptimize)                              \ | 
| 64   V(DivByConstI)                             \ | 64   V(DivByConstI)                             \ | 
| 65   V(DivByPowerOf2I)                          \ | 65   V(DivByPowerOf2I)                          \ | 
| 66   V(DivI)                                    \ | 66   V(DivI)                                    \ | 
| 67   V(DoubleBits)                              \ |  | 
| 68   V(DoubleToIntOrSmi)                        \ | 67   V(DoubleToIntOrSmi)                        \ | 
| 69   V(Drop)                                    \ | 68   V(Drop)                                    \ | 
| 70   V(Dummy)                                   \ | 69   V(Dummy)                                   \ | 
| 71   V(DummyUse)                                \ | 70   V(DummyUse)                                \ | 
| 72   V(FastAllocate)                            \ | 71   V(FastAllocate)                            \ | 
| 73   V(FlooringDivByConstI)                     \ | 72   V(FlooringDivByConstI)                     \ | 
| 74   V(FlooringDivByPowerOf2I)                  \ | 73   V(FlooringDivByPowerOf2I)                  \ | 
| 75   V(FlooringDivI)                            \ | 74   V(FlooringDivI)                            \ | 
| 76   V(ForInCacheArray)                         \ | 75   V(ForInCacheArray)                         \ | 
| 77   V(ForInPrepareMap)                         \ | 76   V(ForInPrepareMap)                         \ | 
| (...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 974     temps_[0] = temp1; | 973     temps_[0] = temp1; | 
| 975   } | 974   } | 
| 976 | 975 | 
| 977   LOperand* unclamped() { return inputs_[0]; } | 976   LOperand* unclamped() { return inputs_[0]; } | 
| 978   LOperand* temp1() { return temps_[0]; } | 977   LOperand* temp1() { return temps_[0]; } | 
| 979 | 978 | 
| 980   DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8") | 979   DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8") | 
| 981 }; | 980 }; | 
| 982 | 981 | 
| 983 | 982 | 
| 984 class LDoubleBits final : public LTemplateInstruction<1, 1, 0> { |  | 
| 985  public: |  | 
| 986   explicit LDoubleBits(LOperand* value) { |  | 
| 987     inputs_[0] = value; |  | 
| 988   } |  | 
| 989 |  | 
| 990   LOperand* value() { return inputs_[0]; } |  | 
| 991 |  | 
| 992   DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits") |  | 
| 993   DECLARE_HYDROGEN_ACCESSOR(DoubleBits) |  | 
| 994 }; |  | 
| 995 |  | 
| 996 |  | 
| 997 class LClassOfTestAndBranch final : public LControlInstruction<1, 2> { | 983 class LClassOfTestAndBranch final : public LControlInstruction<1, 2> { | 
| 998  public: | 984  public: | 
| 999   LClassOfTestAndBranch(LOperand* value, LOperand* temp1, LOperand* temp2) { | 985   LClassOfTestAndBranch(LOperand* value, LOperand* temp1, LOperand* temp2) { | 
| 1000     inputs_[0] = value; | 986     inputs_[0] = value; | 
| 1001     temps_[0] = temp1; | 987     temps_[0] = temp1; | 
| 1002     temps_[1] = temp2; | 988     temps_[1] = temp2; | 
| 1003   } | 989   } | 
| 1004 | 990 | 
| 1005   LOperand* value() { return inputs_[0]; } | 991   LOperand* value() { return inputs_[0]; } | 
| 1006   LOperand* temp1() { return temps_[0]; } | 992   LOperand* temp1() { return temps_[0]; } | 
| (...skipping 1997 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3004   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2990   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 
| 3005 }; | 2991 }; | 
| 3006 | 2992 | 
| 3007 #undef DECLARE_HYDROGEN_ACCESSOR | 2993 #undef DECLARE_HYDROGEN_ACCESSOR | 
| 3008 #undef DECLARE_CONCRETE_INSTRUCTION | 2994 #undef DECLARE_CONCRETE_INSTRUCTION | 
| 3009 | 2995 | 
| 3010 }  // namespace internal | 2996 }  // namespace internal | 
| 3011 }  // namespace v8 | 2997 }  // namespace v8 | 
| 3012 | 2998 | 
| 3013 #endif  // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ | 2999 #endif  // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ | 
| OLD | NEW | 
|---|