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

Side by Side Diff: src/hydrogen-instructions.h

Issue 10054009: Skip canonicalization check in LStoreKeyedFastDoubleElement when it is not needed: (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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/arm/lithium-codegen-arm.cc ('k') | src/hydrogen-instructions.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 4192 matching lines...) Expand 10 before | Expand all | Expand 10 after
4203 } 4203 }
4204 4204
4205 HValue* elements() { return OperandAt(0); } 4205 HValue* elements() { return OperandAt(0); }
4206 HValue* key() { return OperandAt(1); } 4206 HValue* key() { return OperandAt(1); }
4207 HValue* value() { return OperandAt(2); } 4207 HValue* value() { return OperandAt(2); }
4208 4208
4209 bool NeedsWriteBarrier() { 4209 bool NeedsWriteBarrier() {
4210 return StoringValueNeedsWriteBarrier(value()); 4210 return StoringValueNeedsWriteBarrier(value());
4211 } 4211 }
4212 4212
4213 bool NeedsCanonicalization();
4214
4213 virtual void PrintDataTo(StringStream* stream); 4215 virtual void PrintDataTo(StringStream* stream);
4214 4216
4215 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastDoubleElement) 4217 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastDoubleElement)
4216 }; 4218 };
4217 4219
4218 4220
4219 class HStoreKeyedSpecializedArrayElement: public HTemplateInstruction<3> { 4221 class HStoreKeyedSpecializedArrayElement: public HTemplateInstruction<3> {
4220 public: 4222 public:
4221 HStoreKeyedSpecializedArrayElement(HValue* external_elements, 4223 HStoreKeyedSpecializedArrayElement(HValue* external_elements,
4222 HValue* key, 4224 HValue* key,
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
4901 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex); 4903 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex);
4902 }; 4904 };
4903 4905
4904 4906
4905 #undef DECLARE_INSTRUCTION 4907 #undef DECLARE_INSTRUCTION
4906 #undef DECLARE_CONCRETE_INSTRUCTION 4908 #undef DECLARE_CONCRETE_INSTRUCTION
4907 4909
4908 } } // namespace v8::internal 4910 } } // namespace v8::internal
4909 4911
4910 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 4912 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698