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 2337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2348 LOperand* object() { return inputs_[0]; } | 2348 LOperand* object() { return inputs_[0]; } |
2349 LOperand* new_map_temp() { return temps_[0]; } | 2349 LOperand* new_map_temp() { return temps_[0]; } |
2350 LOperand* temp() { return temps_[1]; } | 2350 LOperand* temp() { return temps_[1]; } |
2351 | 2351 |
2352 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, | 2352 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, |
2353 "transition-elements-kind") | 2353 "transition-elements-kind") |
2354 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) | 2354 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) |
2355 | 2355 |
2356 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 2356 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
2357 | 2357 |
2358 Handle<Map> original_map() { return hydrogen()->original_map(); } | 2358 Handle<Map> original_map() { return hydrogen()->original_map().handle(); } |
2359 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); } | 2359 Handle<Map> transitioned_map() { |
| 2360 return hydrogen()->transitioned_map().handle(); |
| 2361 } |
2360 ElementsKind from_kind() { return hydrogen()->from_kind(); } | 2362 ElementsKind from_kind() { return hydrogen()->from_kind(); } |
2361 ElementsKind to_kind() { return hydrogen()->to_kind(); } | 2363 ElementsKind to_kind() { return hydrogen()->to_kind(); } |
2362 }; | 2364 }; |
2363 | 2365 |
2364 | 2366 |
2365 class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 1> { | 2367 class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 1> { |
2366 public: | 2368 public: |
2367 LTrapAllocationMemento(LOperand* object, | 2369 LTrapAllocationMemento(LOperand* object, |
2368 LOperand* temp) { | 2370 LOperand* temp) { |
2369 inputs_[0] = object; | 2371 inputs_[0] = object; |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2918 | 2920 |
2919 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2921 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2920 }; | 2922 }; |
2921 | 2923 |
2922 #undef DECLARE_HYDROGEN_ACCESSOR | 2924 #undef DECLARE_HYDROGEN_ACCESSOR |
2923 #undef DECLARE_CONCRETE_INSTRUCTION | 2925 #undef DECLARE_CONCRETE_INSTRUCTION |
2924 | 2926 |
2925 } } // namespace v8::internal | 2927 } } // namespace v8::internal |
2926 | 2928 |
2927 #endif // V8_IA32_LITHIUM_IA32_H_ | 2929 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |