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

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

Issue 12049012: Avoid handle dereference during graph optimization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 7 years, 11 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/arm/lithium-arm.cc » ('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 2036 matching lines...) Expand 10 before | Expand all | Expand 10 after
2047 LOperand* temp() { return temps_[1]; } 2047 LOperand* temp() { return temps_[1]; }
2048 2048
2049 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, 2049 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind,
2050 "transition-elements-kind") 2050 "transition-elements-kind")
2051 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) 2051 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind)
2052 2052
2053 virtual void PrintDataTo(StringStream* stream); 2053 virtual void PrintDataTo(StringStream* stream);
2054 2054
2055 Handle<Map> original_map() { return hydrogen()->original_map(); } 2055 Handle<Map> original_map() { return hydrogen()->original_map(); }
2056 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); } 2056 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); }
2057 ElementsKind from_kind() { return hydrogen()->from_kind(); }
2058 ElementsKind to_kind() { return hydrogen()->to_kind(); }
2057 }; 2059 };
2058 2060
2059 2061
2060 class LStringAdd: public LTemplateInstruction<1, 2, 0> { 2062 class LStringAdd: public LTemplateInstruction<1, 2, 0> {
2061 public: 2063 public:
2062 LStringAdd(LOperand* left, LOperand* right) { 2064 LStringAdd(LOperand* left, LOperand* right) {
2063 inputs_[0] = left; 2065 inputs_[0] = left;
2064 inputs_[1] = right; 2066 inputs_[1] = right;
2065 } 2067 }
2066 2068
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
2631 2633
2632 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2634 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2633 }; 2635 };
2634 2636
2635 #undef DECLARE_HYDROGEN_ACCESSOR 2637 #undef DECLARE_HYDROGEN_ACCESSOR
2636 #undef DECLARE_CONCRETE_INSTRUCTION 2638 #undef DECLARE_CONCRETE_INSTRUCTION
2637 2639
2638 } } // namespace v8::internal 2640 } } // namespace v8::internal
2639 2641
2640 #endif // V8_ARM_LITHIUM_ARM_H_ 2642 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698