| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 V(Power) \ | 159 V(Power) \ |
| 160 V(PushArgument) \ | 160 V(PushArgument) \ |
| 161 V(Random) \ | 161 V(Random) \ |
| 162 V(RegExpLiteral) \ | 162 V(RegExpLiteral) \ |
| 163 V(Return) \ | 163 V(Return) \ |
| 164 V(SeqStringSetChar) \ | 164 V(SeqStringSetChar) \ |
| 165 V(ShiftI) \ | 165 V(ShiftI) \ |
| 166 V(SmiTag) \ | 166 V(SmiTag) \ |
| 167 V(SmiUntag) \ | 167 V(SmiUntag) \ |
| 168 V(StackCheck) \ | 168 V(StackCheck) \ |
| 169 V(StoreCodeEntry) \ |
| 169 V(StoreContextSlot) \ | 170 V(StoreContextSlot) \ |
| 170 V(StoreGlobalCell) \ | 171 V(StoreGlobalCell) \ |
| 171 V(StoreGlobalGeneric) \ | 172 V(StoreGlobalGeneric) \ |
| 172 V(StoreKeyedExternal) \ | 173 V(StoreKeyedExternal) \ |
| 173 V(StoreKeyedFixed) \ | 174 V(StoreKeyedFixed) \ |
| 174 V(StoreKeyedFixedDouble) \ | 175 V(StoreKeyedFixedDouble) \ |
| 175 V(StoreKeyedGeneric) \ | 176 V(StoreKeyedGeneric) \ |
| 176 V(StoreNamedField) \ | 177 V(StoreNamedField) \ |
| 177 V(StoreNamedGeneric) \ | 178 V(StoreNamedGeneric) \ |
| 178 V(StringAdd) \ | 179 V(StringAdd) \ |
| (...skipping 2274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2453 bool can_deopt() const { return can_deopt_; } | 2454 bool can_deopt() const { return can_deopt_; } |
| 2454 | 2455 |
| 2455 DECLARE_CONCRETE_INSTRUCTION(ShiftI, "shift-i") | 2456 DECLARE_CONCRETE_INSTRUCTION(ShiftI, "shift-i") |
| 2456 | 2457 |
| 2457 private: | 2458 private: |
| 2458 Token::Value op_; | 2459 Token::Value op_; |
| 2459 bool can_deopt_; | 2460 bool can_deopt_; |
| 2460 }; | 2461 }; |
| 2461 | 2462 |
| 2462 | 2463 |
| 2464 class LStoreCodeEntry V8_FINAL: public LTemplateInstruction<0, 2, 1> { |
| 2465 public: |
| 2466 LStoreCodeEntry(LOperand* function, LOperand* code_object, |
| 2467 LOperand* temp) { |
| 2468 inputs_[0] = function; |
| 2469 inputs_[1] = code_object; |
| 2470 temps_[0] = temp; |
| 2471 } |
| 2472 |
| 2473 LOperand* function() { return inputs_[0]; } |
| 2474 LOperand* code_object() { return inputs_[1]; } |
| 2475 LOperand* temp() { return temps_[0]; } |
| 2476 |
| 2477 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
| 2478 |
| 2479 DECLARE_CONCRETE_INSTRUCTION(StoreCodeEntry, "store-code-entry") |
| 2480 DECLARE_HYDROGEN_ACCESSOR(StoreCodeEntry) |
| 2481 }; |
| 2482 |
| 2483 |
| 2463 class LStoreContextSlot: public LTemplateInstruction<0, 2, 1> { | 2484 class LStoreContextSlot: public LTemplateInstruction<0, 2, 1> { |
| 2464 public: | 2485 public: |
| 2465 LStoreContextSlot(LOperand* context, LOperand* value, LOperand* temp) { | 2486 LStoreContextSlot(LOperand* context, LOperand* value, LOperand* temp) { |
| 2466 inputs_[0] = context; | 2487 inputs_[0] = context; |
| 2467 inputs_[1] = value; | 2488 inputs_[1] = value; |
| 2468 temps_[0] = temp; | 2489 temps_[0] = temp; |
| 2469 } | 2490 } |
| 2470 | 2491 |
| 2471 LOperand* context() { return inputs_[0]; } | 2492 LOperand* context() { return inputs_[0]; } |
| 2472 LOperand* value() { return inputs_[1]; } | 2493 LOperand* value() { return inputs_[1]; } |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2903 | 2924 |
| 2904 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2925 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2905 }; | 2926 }; |
| 2906 | 2927 |
| 2907 #undef DECLARE_HYDROGEN_ACCESSOR | 2928 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2908 #undef DECLARE_CONCRETE_INSTRUCTION | 2929 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2909 | 2930 |
| 2910 } } // namespace v8::internal | 2931 } } // namespace v8::internal |
| 2911 | 2932 |
| 2912 #endif // V8_A64_LITHIUM_A64_H_ | 2933 #endif // V8_A64_LITHIUM_A64_H_ |
| OLD | NEW |