| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 85   V(CmpObjectEqAndBranch)                       \ | 85   V(CmpObjectEqAndBranch)                       \ | 
| 86   V(CmpMapAndBranch)                            \ | 86   V(CmpMapAndBranch)                            \ | 
| 87   V(CmpT)                                       \ | 87   V(CmpT)                                       \ | 
| 88   V(ConstantD)                                  \ | 88   V(ConstantD)                                  \ | 
| 89   V(ConstantI)                                  \ | 89   V(ConstantI)                                  \ | 
| 90   V(ConstantS)                                  \ | 90   V(ConstantS)                                  \ | 
| 91   V(ConstantT)                                  \ | 91   V(ConstantT)                                  \ | 
| 92   V(Context)                                    \ | 92   V(Context)                                    \ | 
| 93   V(DebugBreak)                                 \ | 93   V(DebugBreak)                                 \ | 
| 94   V(DeclareGlobals)                             \ | 94   V(DeclareGlobals)                             \ | 
| 95   V(DeleteProperty)                             \ |  | 
| 96   V(Deoptimize)                                 \ | 95   V(Deoptimize)                                 \ | 
| 97   V(DivI)                                       \ | 96   V(DivI)                                       \ | 
| 98   V(DoubleToI)                                  \ | 97   V(DoubleToI)                                  \ | 
| 99   V(DoubleToSmi)                                \ | 98   V(DoubleToSmi)                                \ | 
| 100   V(DummyUse)                                   \ | 99   V(DummyUse)                                   \ | 
| 101   V(ElementsKind)                               \ | 100   V(ElementsKind)                               \ | 
| 102   V(FunctionLiteral)                            \ | 101   V(FunctionLiteral)                            \ | 
| 103   V(GetCachedArrayIndex)                        \ | 102   V(GetCachedArrayIndex)                        \ | 
| 104   V(GlobalObject)                               \ | 103   V(GlobalObject)                               \ | 
| 105   V(GlobalReceiver)                             \ | 104   V(GlobalReceiver)                             \ | 
| 106   V(Goto)                                       \ | 105   V(Goto)                                       \ | 
| 107   V(HasCachedArrayIndexAndBranch)               \ | 106   V(HasCachedArrayIndexAndBranch)               \ | 
| 108   V(HasInstanceTypeAndBranch)                   \ | 107   V(HasInstanceTypeAndBranch)                   \ | 
| 109   V(In)                                         \ |  | 
| 110   V(InstanceOf)                                 \ | 108   V(InstanceOf)                                 \ | 
| 111   V(InstanceOfKnownGlobal)                      \ | 109   V(InstanceOfKnownGlobal)                      \ | 
| 112   V(InstanceSize)                               \ | 110   V(InstanceSize)                               \ | 
| 113   V(InstructionGap)                             \ | 111   V(InstructionGap)                             \ | 
| 114   V(Integer32ToDouble)                          \ | 112   V(Integer32ToDouble)                          \ | 
| 115   V(Integer32ToSmi)                             \ | 113   V(Integer32ToSmi)                             \ | 
| 116   V(Uint32ToDouble)                             \ | 114   V(Uint32ToDouble)                             \ | 
| 117   V(InvokeFunction)                             \ | 115   V(InvokeFunction)                             \ | 
| 118   V(IsConstructCallAndBranch)                   \ | 116   V(IsConstructCallAndBranch)                   \ | 
| 119   V(IsObjectAndBranch)                          \ | 117   V(IsObjectAndBranch)                          \ | 
| (...skipping 2438 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2558     temps_[0] = temp; | 2556     temps_[0] = temp; | 
| 2559   } | 2557   } | 
| 2560 | 2558 | 
| 2561   LOperand* temp() { return temps_[0]; } | 2559   LOperand* temp() { return temps_[0]; } | 
| 2562 | 2560 | 
| 2563   DECLARE_CONCRETE_INSTRUCTION(IsConstructCallAndBranch, | 2561   DECLARE_CONCRETE_INSTRUCTION(IsConstructCallAndBranch, | 
| 2564                                "is-construct-call-and-branch") | 2562                                "is-construct-call-and-branch") | 
| 2565 }; | 2563 }; | 
| 2566 | 2564 | 
| 2567 | 2565 | 
| 2568 class LDeleteProperty: public LTemplateInstruction<1, 2, 0> { |  | 
| 2569  public: |  | 
| 2570   LDeleteProperty(LOperand* object, LOperand* key) { |  | 
| 2571     inputs_[0] = object; |  | 
| 2572     inputs_[1] = key; |  | 
| 2573   } |  | 
| 2574 |  | 
| 2575   LOperand* object() { return inputs_[0]; } |  | 
| 2576   LOperand* key() { return inputs_[1]; } |  | 
| 2577 |  | 
| 2578   DECLARE_CONCRETE_INSTRUCTION(DeleteProperty, "delete-property") |  | 
| 2579 }; |  | 
| 2580 |  | 
| 2581 |  | 
| 2582 class LOsrEntry: public LTemplateInstruction<0, 0, 0> { | 2566 class LOsrEntry: public LTemplateInstruction<0, 0, 0> { | 
| 2583  public: | 2567  public: | 
| 2584   LOsrEntry() {} | 2568   LOsrEntry() {} | 
| 2585 | 2569 | 
| 2586   virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } | 2570   virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } | 
| 2587   DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") | 2571   DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") | 
| 2588 }; | 2572 }; | 
| 2589 | 2573 | 
| 2590 | 2574 | 
| 2591 class LStackCheck: public LTemplateInstruction<0, 0, 0> { | 2575 class LStackCheck: public LTemplateInstruction<0, 0, 0> { | 
| 2592  public: | 2576  public: | 
| 2593   DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check") | 2577   DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check") | 
| 2594   DECLARE_HYDROGEN_ACCESSOR(StackCheck) | 2578   DECLARE_HYDROGEN_ACCESSOR(StackCheck) | 
| 2595 | 2579 | 
| 2596   Label* done_label() { return &done_label_; } | 2580   Label* done_label() { return &done_label_; } | 
| 2597 | 2581 | 
| 2598  private: | 2582  private: | 
| 2599   Label done_label_; | 2583   Label done_label_; | 
| 2600 }; | 2584 }; | 
| 2601 | 2585 | 
| 2602 | 2586 | 
| 2603 class LIn: public LTemplateInstruction<1, 2, 0> { |  | 
| 2604  public: |  | 
| 2605   LIn(LOperand* key, LOperand* object) { |  | 
| 2606     inputs_[0] = key; |  | 
| 2607     inputs_[1] = object; |  | 
| 2608   } |  | 
| 2609 |  | 
| 2610   LOperand* key() { return inputs_[0]; } |  | 
| 2611   LOperand* object() { return inputs_[1]; } |  | 
| 2612 |  | 
| 2613   DECLARE_CONCRETE_INSTRUCTION(In, "in") |  | 
| 2614 }; |  | 
| 2615 |  | 
| 2616 |  | 
| 2617 class LForInPrepareMap: public LTemplateInstruction<1, 1, 0> { | 2587 class LForInPrepareMap: public LTemplateInstruction<1, 1, 0> { | 
| 2618  public: | 2588  public: | 
| 2619   explicit LForInPrepareMap(LOperand* object) { | 2589   explicit LForInPrepareMap(LOperand* object) { | 
| 2620     inputs_[0] = object; | 2590     inputs_[0] = object; | 
| 2621   } | 2591   } | 
| 2622 | 2592 | 
| 2623   LOperand* object() { return inputs_[0]; } | 2593   LOperand* object() { return inputs_[0]; } | 
| 2624 | 2594 | 
| 2625   DECLARE_CONCRETE_INSTRUCTION(ForInPrepareMap, "for-in-prepare-map") | 2595   DECLARE_CONCRETE_INSTRUCTION(ForInPrepareMap, "for-in-prepare-map") | 
| 2626 }; | 2596 }; | 
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2851 | 2821 | 
| 2852   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2822   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 
| 2853 }; | 2823 }; | 
| 2854 | 2824 | 
| 2855 #undef DECLARE_HYDROGEN_ACCESSOR | 2825 #undef DECLARE_HYDROGEN_ACCESSOR | 
| 2856 #undef DECLARE_CONCRETE_INSTRUCTION | 2826 #undef DECLARE_CONCRETE_INSTRUCTION | 
| 2857 | 2827 | 
| 2858 } }  // namespace v8::internal | 2828 } }  // namespace v8::internal | 
| 2859 | 2829 | 
| 2860 #endif  // V8_ARM_LITHIUM_ARM_H_ | 2830 #endif  // V8_ARM_LITHIUM_ARM_H_ | 
| OLD | NEW | 
|---|