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

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

Issue 10692130: Swap bitfield3 and backpointer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: u 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
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 2159 matching lines...) Expand 10 before | Expand all | Expand 10 after
2170 explicit LForInPrepareMap(LOperand* object) { 2170 explicit LForInPrepareMap(LOperand* object) {
2171 inputs_[0] = object; 2171 inputs_[0] = object;
2172 } 2172 }
2173 2173
2174 LOperand* object() { return inputs_[0]; } 2174 LOperand* object() { return inputs_[0]; }
2175 2175
2176 DECLARE_CONCRETE_INSTRUCTION(ForInPrepareMap, "for-in-prepare-map") 2176 DECLARE_CONCRETE_INSTRUCTION(ForInPrepareMap, "for-in-prepare-map")
2177 }; 2177 };
2178 2178
2179 2179
2180 class LForInCacheArray: public LTemplateInstruction<1, 1, 0> { 2180 class LForInCacheArray: public LTemplateInstruction<1, 1, 1> {
2181 public: 2181 public:
2182 explicit LForInCacheArray(LOperand* map) { 2182 explicit LForInCacheArray(LOperand* map, LOperand* scratch) {
2183 inputs_[0] = map; 2183 inputs_[0] = map;
2184 temps_[0] = scratch;
2184 } 2185 }
2185 2186
2186 LOperand* map() { return inputs_[0]; } 2187 LOperand* map() { return inputs_[0]; }
2188 LOperand* scratch() { return temps_[0]; }
2187 2189
2188 DECLARE_CONCRETE_INSTRUCTION(ForInCacheArray, "for-in-cache-array") 2190 DECLARE_CONCRETE_INSTRUCTION(ForInCacheArray, "for-in-cache-array")
2189 2191
2190 int idx() { 2192 int idx() {
2191 return HForInCacheArray::cast(this->hydrogen_value())->idx(); 2193 return HForInCacheArray::cast(this->hydrogen_value())->idx();
2192 } 2194 }
2193 }; 2195 };
2194 2196
2195 2197
2196 class LCheckMapValue: public LTemplateInstruction<0, 2, 0> { 2198 class LCheckMapValue: public LTemplateInstruction<0, 2, 0> {
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
2437 2439
2438 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2440 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2439 }; 2441 };
2440 2442
2441 #undef DECLARE_HYDROGEN_ACCESSOR 2443 #undef DECLARE_HYDROGEN_ACCESSOR
2442 #undef DECLARE_CONCRETE_INSTRUCTION 2444 #undef DECLARE_CONCRETE_INSTRUCTION
2443 2445
2444 } } // namespace v8::internal 2446 } } // namespace v8::internal
2445 2447
2446 #endif // V8_ARM_LITHIUM_ARM_H_ 2448 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698