Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(600)

Side by Side Diff: src/arm/lithium-arm.h

Issue 23693006: Use Unique<Map> in HTransitionElementsKind. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/hydrogen-instructions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2258 matching lines...) Expand 10 before | Expand all | Expand 10 after
2269 2269
2270 LOperand* object() { return inputs_[0]; } 2270 LOperand* object() { return inputs_[0]; }
2271 LOperand* new_map_temp() { return temps_[0]; } 2271 LOperand* new_map_temp() { return temps_[0]; }
2272 2272
2273 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, 2273 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind,
2274 "transition-elements-kind") 2274 "transition-elements-kind")
2275 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) 2275 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind)
2276 2276
2277 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; 2277 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
2278 2278
2279 Handle<Map> original_map() { return hydrogen()->original_map(); } 2279 Handle<Map> original_map() { return hydrogen()->original_map().handle(); }
2280 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); } 2280 Handle<Map> transitioned_map() {
2281 return hydrogen()->transitioned_map().handle();
2282 }
2281 ElementsKind from_kind() { return hydrogen()->from_kind(); } 2283 ElementsKind from_kind() { return hydrogen()->from_kind(); }
2282 ElementsKind to_kind() { return hydrogen()->to_kind(); } 2284 ElementsKind to_kind() { return hydrogen()->to_kind(); }
2283 }; 2285 };
2284 2286
2285 2287
2286 class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 1> { 2288 class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 1> {
2287 public: 2289 public:
2288 LTrapAllocationMemento(LOperand* object, 2290 LTrapAllocationMemento(LOperand* object,
2289 LOperand* temp) { 2291 LOperand* temp) {
2290 inputs_[0] = object; 2292 inputs_[0] = object;
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
2792 2794
2793 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2795 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2794 }; 2796 };
2795 2797
2796 #undef DECLARE_HYDROGEN_ACCESSOR 2798 #undef DECLARE_HYDROGEN_ACCESSOR
2797 #undef DECLARE_CONCRETE_INSTRUCTION 2799 #undef DECLARE_CONCRETE_INSTRUCTION
2798 2800
2799 } } // namespace v8::internal 2801 } } // namespace v8::internal
2800 2802
2801 #endif // V8_ARM_LITHIUM_ARM_H_ 2803 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen-instructions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698