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

Side by Side Diff: src/x64/lithium-x64.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/x64/lithium-codegen-x64.cc ('k') | no next file » | 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 1689 matching lines...) Expand 10 before | Expand all | Expand 10 after
1700 1700
1701 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastDoubleElement, 1701 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastDoubleElement,
1702 "store-keyed-fast-double-element") 1702 "store-keyed-fast-double-element")
1703 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastDoubleElement) 1703 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastDoubleElement)
1704 1704
1705 virtual void PrintDataTo(StringStream* stream); 1705 virtual void PrintDataTo(StringStream* stream);
1706 1706
1707 LOperand* elements() { return inputs_[0]; } 1707 LOperand* elements() { return inputs_[0]; }
1708 LOperand* key() { return inputs_[1]; } 1708 LOperand* key() { return inputs_[1]; }
1709 LOperand* value() { return inputs_[2]; } 1709 LOperand* value() { return inputs_[2]; }
1710
1711 bool NeedsCanonicalization() { return hydrogen()->NeedsCanonicalization(); }
1710 }; 1712 };
1711 1713
1712 1714
1713 class LStoreKeyedSpecializedArrayElement: public LTemplateInstruction<0, 3, 0> { 1715 class LStoreKeyedSpecializedArrayElement: public LTemplateInstruction<0, 3, 0> {
1714 public: 1716 public:
1715 LStoreKeyedSpecializedArrayElement(LOperand* external_pointer, 1717 LStoreKeyedSpecializedArrayElement(LOperand* external_pointer,
1716 LOperand* key, 1718 LOperand* key,
1717 LOperand* val) { 1719 LOperand* val) {
1718 inputs_[0] = external_pointer; 1720 inputs_[0] = external_pointer;
1719 inputs_[1] = key; 1721 inputs_[1] = key;
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
2369 2371
2370 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2372 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2371 }; 2373 };
2372 2374
2373 #undef DECLARE_HYDROGEN_ACCESSOR 2375 #undef DECLARE_HYDROGEN_ACCESSOR
2374 #undef DECLARE_CONCRETE_INSTRUCTION 2376 #undef DECLARE_CONCRETE_INSTRUCTION
2375 2377
2376 } } // namespace v8::int 2378 } } // namespace v8::int
2377 2379
2378 #endif // V8_X64_LITHIUM_X64_H_ 2380 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698