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

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

Issue 10692192: MIPS: Swap bitfield3 and backpointer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 5 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') | src/mips/lithium-mips.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 2125 matching lines...) Expand 10 before | Expand all | Expand 10 after
2136 explicit LForInPrepareMap(LOperand* object) { 2136 explicit LForInPrepareMap(LOperand* object) {
2137 inputs_[0] = object; 2137 inputs_[0] = object;
2138 } 2138 }
2139 2139
2140 LOperand* object() { return inputs_[0]; } 2140 LOperand* object() { return inputs_[0]; }
2141 2141
2142 DECLARE_CONCRETE_INSTRUCTION(ForInPrepareMap, "for-in-prepare-map") 2142 DECLARE_CONCRETE_INSTRUCTION(ForInPrepareMap, "for-in-prepare-map")
2143 }; 2143 };
2144 2144
2145 2145
2146 class LForInCacheArray: public LTemplateInstruction<1, 1, 0> { 2146 class LForInCacheArray: public LTemplateInstruction<1, 1, 1> {
2147 public: 2147 public:
2148 explicit LForInCacheArray(LOperand* map) { 2148 explicit LForInCacheArray(LOperand* map, LOperand* scratch) {
2149 inputs_[0] = map; 2149 inputs_[0] = map;
2150 temps_[0] = scratch;
2150 } 2151 }
2151 2152
2152 LOperand* map() { return inputs_[0]; } 2153 LOperand* map() { return inputs_[0]; }
2154 LOperand* scratch() { return temps_[0]; }
2153 2155
2154 DECLARE_CONCRETE_INSTRUCTION(ForInCacheArray, "for-in-cache-array") 2156 DECLARE_CONCRETE_INSTRUCTION(ForInCacheArray, "for-in-cache-array")
2155 2157
2156 int idx() { 2158 int idx() {
2157 return HForInCacheArray::cast(this->hydrogen_value())->idx(); 2159 return HForInCacheArray::cast(this->hydrogen_value())->idx();
2158 } 2160 }
2159 }; 2161 };
2160 2162
2161 2163
2162 class LCheckMapValue: public LTemplateInstruction<0, 2, 0> { 2164 class LCheckMapValue: public LTemplateInstruction<0, 2, 0> {
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
2348 2350
2349 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2351 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2350 }; 2352 };
2351 2353
2352 #undef DECLARE_HYDROGEN_ACCESSOR 2354 #undef DECLARE_HYDROGEN_ACCESSOR
2353 #undef DECLARE_CONCRETE_INSTRUCTION 2355 #undef DECLARE_CONCRETE_INSTRUCTION
2354 2356
2355 } } // namespace v8::internal 2357 } } // namespace v8::internal
2356 2358
2357 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2359 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698