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

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

Issue 181543002: Eliminate extended mode, and other modes clean-up (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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.h ('k') | src/objects.h » ('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 2074 matching lines...) Expand 10 before | Expand all | Expand 10 after
2085 LOperand* context() { return inputs_[0]; } 2085 LOperand* context() { return inputs_[0]; }
2086 LOperand* object() { return inputs_[1]; } 2086 LOperand* object() { return inputs_[1]; }
2087 LOperand* value() { return inputs_[2]; } 2087 LOperand* value() { return inputs_[2]; }
2088 2088
2089 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") 2089 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic")
2090 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) 2090 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric)
2091 2091
2092 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; 2092 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
2093 2093
2094 Handle<Object> name() const { return hydrogen()->name(); } 2094 Handle<Object> name() const { return hydrogen()->name(); }
2095 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } 2095 StrictMode strict_mode_flag() { return hydrogen()->strict_mode_flag(); }
2096 }; 2096 };
2097 2097
2098 2098
2099 class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> { 2099 class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> {
2100 public: 2100 public:
2101 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) { 2101 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) {
2102 inputs_[0] = object; 2102 inputs_[0] = object;
2103 inputs_[1] = key; 2103 inputs_[1] = key;
2104 inputs_[2] = value; 2104 inputs_[2] = value;
2105 } 2105 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
2142 LOperand* context() { return inputs_[0]; } 2142 LOperand* context() { return inputs_[0]; }
2143 LOperand* object() { return inputs_[1]; } 2143 LOperand* object() { return inputs_[1]; }
2144 LOperand* key() { return inputs_[2]; } 2144 LOperand* key() { return inputs_[2]; }
2145 LOperand* value() { return inputs_[3]; } 2145 LOperand* value() { return inputs_[3]; }
2146 2146
2147 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") 2147 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic")
2148 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) 2148 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric)
2149 2149
2150 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; 2150 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
2151 2151
2152 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } 2152 StrictMode strict_mode_flag() { return hydrogen()->strict_mode_flag(); }
2153 }; 2153 };
2154 2154
2155 2155
2156 class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 2, 1> { 2156 class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 2, 1> {
2157 public: 2157 public:
2158 LTransitionElementsKind(LOperand* object, 2158 LTransitionElementsKind(LOperand* object,
2159 LOperand* context, 2159 LOperand* context,
2160 LOperand* new_map_temp) { 2160 LOperand* new_map_temp) {
2161 inputs_[0] = object; 2161 inputs_[0] = object;
2162 inputs_[1] = context; 2162 inputs_[1] = context;
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
2708 2708
2709 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2709 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2710 }; 2710 };
2711 2711
2712 #undef DECLARE_HYDROGEN_ACCESSOR 2712 #undef DECLARE_HYDROGEN_ACCESSOR
2713 #undef DECLARE_CONCRETE_INSTRUCTION 2713 #undef DECLARE_CONCRETE_INSTRUCTION
2714 2714
2715 } } // namespace v8::internal 2715 } } // namespace v8::internal
2716 2716
2717 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2717 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698