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

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

Issue 14109010: ARM: Enable VFP default NaN mode (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 7 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
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 2158 matching lines...) Expand 10 before | Expand all | Expand 10 after
2169 LOperand* key() { return inputs_[1]; } 2169 LOperand* key() { return inputs_[1]; }
2170 LOperand* value() { return inputs_[2]; } 2170 LOperand* value() { return inputs_[2]; }
2171 ElementsKind elements_kind() const { 2171 ElementsKind elements_kind() const {
2172 return hydrogen()->elements_kind(); 2172 return hydrogen()->elements_kind();
2173 } 2173 }
2174 2174
2175 DECLARE_CONCRETE_INSTRUCTION(StoreKeyed, "store-keyed") 2175 DECLARE_CONCRETE_INSTRUCTION(StoreKeyed, "store-keyed")
2176 DECLARE_HYDROGEN_ACCESSOR(StoreKeyed) 2176 DECLARE_HYDROGEN_ACCESSOR(StoreKeyed)
2177 2177
2178 virtual void PrintDataTo(StringStream* stream); 2178 virtual void PrintDataTo(StringStream* stream);
2179 bool NeedsCanonicalization() { return hydrogen()->NeedsCanonicalization(); } 2179 bool NeedsCanonicalization() {
2180 if (hydrogen()->value()->IsAdd() || hydrogen()->value()->IsSub() ||
2181 hydrogen()->value()->IsMul() || hydrogen()->value()->IsDiv()) {
2182 return false;
2183 }
2184 return hydrogen()->NeedsCanonicalization();
2185 }
2180 uint32_t additional_index() const { return hydrogen()->index_offset(); } 2186 uint32_t additional_index() const { return hydrogen()->index_offset(); }
2181 }; 2187 };
2182 2188
2183 2189
2184 class LStoreKeyedGeneric: public LTemplateInstruction<0, 3, 0> { 2190 class LStoreKeyedGeneric: public LTemplateInstruction<0, 3, 0> {
2185 public: 2191 public:
2186 LStoreKeyedGeneric(LOperand* obj, LOperand* key, LOperand* value) { 2192 LStoreKeyedGeneric(LOperand* obj, LOperand* key, LOperand* value) {
2187 inputs_[0] = obj; 2193 inputs_[0] = obj;
2188 inputs_[1] = key; 2194 inputs_[1] = key;
2189 inputs_[2] = value; 2195 inputs_[2] = value;
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
2841 2847
2842 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2848 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2843 }; 2849 };
2844 2850
2845 #undef DECLARE_HYDROGEN_ACCESSOR 2851 #undef DECLARE_HYDROGEN_ACCESSOR
2846 #undef DECLARE_CONCRETE_INSTRUCTION 2852 #undef DECLARE_CONCRETE_INSTRUCTION
2847 2853
2848 } } // namespace v8::internal 2854 } } // namespace v8::internal
2849 2855
2850 #endif // V8_ARM_LITHIUM_ARM_H_ 2856 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698