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

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

Issue 10071004: MIPS: Skip canonicalization check in LStoreKeyedFastDoubleElement when it is not needed (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebased on r11356 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/mips/lithium-codegen-mips.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 1714 matching lines...) Expand 10 before | Expand all | Expand 10 after
1725 1725
1726 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastDoubleElement, 1726 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastDoubleElement,
1727 "store-keyed-fast-double-element") 1727 "store-keyed-fast-double-element")
1728 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastDoubleElement) 1728 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastDoubleElement)
1729 1729
1730 virtual void PrintDataTo(StringStream* stream); 1730 virtual void PrintDataTo(StringStream* stream);
1731 1731
1732 LOperand* elements() { return inputs_[0]; } 1732 LOperand* elements() { return inputs_[0]; }
1733 LOperand* key() { return inputs_[1]; } 1733 LOperand* key() { return inputs_[1]; }
1734 LOperand* value() { return inputs_[2]; } 1734 LOperand* value() { return inputs_[2]; }
1735
1736 bool NeedsCanonicalization() { return hydrogen()->NeedsCanonicalization(); }
1735 }; 1737 };
1736 1738
1737 1739
1738 class LStoreKeyedGeneric: public LTemplateInstruction<0, 3, 0> { 1740 class LStoreKeyedGeneric: public LTemplateInstruction<0, 3, 0> {
1739 public: 1741 public:
1740 LStoreKeyedGeneric(LOperand* obj, LOperand* key, LOperand* val) { 1742 LStoreKeyedGeneric(LOperand* obj, LOperand* key, LOperand* val) {
1741 inputs_[0] = obj; 1743 inputs_[0] = obj;
1742 inputs_[1] = key; 1744 inputs_[1] = key;
1743 inputs_[2] = val; 1745 inputs_[2] = val;
1744 } 1746 }
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
2397 2399
2398 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2400 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2399 }; 2401 };
2400 2402
2401 #undef DECLARE_HYDROGEN_ACCESSOR 2403 #undef DECLARE_HYDROGEN_ACCESSOR
2402 #undef DECLARE_CONCRETE_INSTRUCTION 2404 #undef DECLARE_CONCRETE_INSTRUCTION
2403 2405
2404 } } // namespace v8::internal 2406 } } // namespace v8::internal
2405 2407
2406 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2408 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698