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

Side by Side Diff: src/ia32/lithium-ia32.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 | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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 2096 matching lines...) Expand 10 before | Expand all | Expand 10 after
2107 LOperand* temp() { return temps_[1]; } 2107 LOperand* temp() { return temps_[1]; }
2108 2108
2109 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, 2109 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind,
2110 "transition-elements-kind") 2110 "transition-elements-kind")
2111 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) 2111 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind)
2112 2112
2113 virtual void PrintDataTo(StringStream* stream); 2113 virtual void PrintDataTo(StringStream* stream);
2114 2114
2115 Handle<Map> original_map() { return hydrogen()->original_map(); } 2115 Handle<Map> original_map() { return hydrogen()->original_map(); }
2116 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); } 2116 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); }
2117 ElementsKind from_kind() { return hydrogen()->from_kind(); }
2118 ElementsKind to_kind() { return hydrogen()->to_kind(); }
2117 }; 2119 };
2118 2120
2119 2121
2120 class LStringAdd: public LTemplateInstruction<1, 3, 0> { 2122 class LStringAdd: public LTemplateInstruction<1, 3, 0> {
2121 public: 2123 public:
2122 LStringAdd(LOperand* context, LOperand* left, LOperand* right) { 2124 LStringAdd(LOperand* context, LOperand* left, LOperand* right) {
2123 inputs_[0] = context; 2125 inputs_[0] = context;
2124 inputs_[1] = left; 2126 inputs_[1] = left;
2125 inputs_[2] = right; 2127 inputs_[2] = right;
2126 } 2128 }
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
2733 2735
2734 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2736 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2735 }; 2737 };
2736 2738
2737 #undef DECLARE_HYDROGEN_ACCESSOR 2739 #undef DECLARE_HYDROGEN_ACCESSOR
2738 #undef DECLARE_CONCRETE_INSTRUCTION 2740 #undef DECLARE_CONCRETE_INSTRUCTION
2739 2741
2740 } } // namespace v8::internal 2742 } } // namespace v8::internal
2741 2743
2742 #endif // V8_IA32_LITHIUM_IA32_H_ 2744 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698