| 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 2323 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2334   LOperand* context() { return inputs_[0]; } | 2334   LOperand* context() { return inputs_[0]; } | 
| 2335   LOperand* object() { return inputs_[1]; } | 2335   LOperand* object() { return inputs_[1]; } | 
| 2336   LOperand* key() { return inputs_[2]; } | 2336   LOperand* key() { return inputs_[2]; } | 
| 2337   LOperand* value() { return inputs_[3]; } | 2337   LOperand* value() { return inputs_[3]; } | 
| 2338 | 2338 | 
| 2339   DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") | 2339   DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") | 
| 2340   DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) | 2340   DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) | 
| 2341 | 2341 | 
| 2342   virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 2342   virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 
| 2343 | 2343 | 
| 2344   StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 2344   StrictMode strict_mode() { return hydrogen()->strict_mode(); } | 
| 2345 }; | 2345 }; | 
| 2346 | 2346 | 
| 2347 | 2347 | 
| 2348 class LStoreNamedField V8_FINAL : public LTemplateInstruction<0, 2, 2> { | 2348 class LStoreNamedField V8_FINAL : public LTemplateInstruction<0, 2, 2> { | 
| 2349  public: | 2349  public: | 
| 2350   LStoreNamedField(LOperand* object, LOperand* value, | 2350   LStoreNamedField(LOperand* object, LOperand* value, | 
| 2351                    LOperand* temp0, LOperand* temp1) { | 2351                    LOperand* temp0, LOperand* temp1) { | 
| 2352     inputs_[0] = object; | 2352     inputs_[0] = object; | 
| 2353     inputs_[1] = value; | 2353     inputs_[1] = value; | 
| 2354     temps_[0] = temp0; | 2354     temps_[0] = temp0; | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
| 2383   LOperand* context() { return inputs_[0]; } | 2383   LOperand* context() { return inputs_[0]; } | 
| 2384   LOperand* object() { return inputs_[1]; } | 2384   LOperand* object() { return inputs_[1]; } | 
| 2385   LOperand* value() { return inputs_[2]; } | 2385   LOperand* value() { return inputs_[2]; } | 
| 2386 | 2386 | 
| 2387   DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") | 2387   DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") | 
| 2388   DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) | 2388   DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) | 
| 2389 | 2389 | 
| 2390   virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 2390   virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 
| 2391 | 2391 | 
| 2392   Handle<Object> name() const { return hydrogen()->name(); } | 2392   Handle<Object> name() const { return hydrogen()->name(); } | 
| 2393   StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 2393   StrictMode strict_mode() { return hydrogen()->strict_mode(); } | 
| 2394 }; | 2394 }; | 
| 2395 | 2395 | 
| 2396 | 2396 | 
| 2397 class LStringAdd V8_FINAL : public LTemplateInstruction<1, 3, 0> { | 2397 class LStringAdd V8_FINAL : public LTemplateInstruction<1, 3, 0> { | 
| 2398  public: | 2398  public: | 
| 2399   LStringAdd(LOperand* context, LOperand* left, LOperand* right) { | 2399   LStringAdd(LOperand* context, LOperand* left, LOperand* right) { | 
| 2400     inputs_[0] = context; | 2400     inputs_[0] = context; | 
| 2401     inputs_[1] = left; | 2401     inputs_[1] = left; | 
| 2402     inputs_[2] = right; | 2402     inputs_[2] = right; | 
| 2403   } | 2403   } | 
| (...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2963 | 2963 | 
| 2964   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2964   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 
| 2965 }; | 2965 }; | 
| 2966 | 2966 | 
| 2967 #undef DECLARE_HYDROGEN_ACCESSOR | 2967 #undef DECLARE_HYDROGEN_ACCESSOR | 
| 2968 #undef DECLARE_CONCRETE_INSTRUCTION | 2968 #undef DECLARE_CONCRETE_INSTRUCTION | 
| 2969 | 2969 | 
| 2970 } }  // namespace v8::internal | 2970 } }  // namespace v8::internal | 
| 2971 | 2971 | 
| 2972 #endif  // V8_A64_LITHIUM_A64_H_ | 2972 #endif  // V8_A64_LITHIUM_A64_H_ | 
| OLD | NEW | 
|---|