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

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

Issue 8965038: Clean up handling of global cell stores in the optimizing compiler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years 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 | « no previous file | src/arm/lithium-arm.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1224 matching lines...) Expand 10 before | Expand all | Expand 10 after
1235 1235
1236 class LStoreGlobalCell: public LTemplateInstruction<0, 1, 1> { 1236 class LStoreGlobalCell: public LTemplateInstruction<0, 1, 1> {
1237 public: 1237 public:
1238 LStoreGlobalCell(LOperand* value, LOperand* temp) { 1238 LStoreGlobalCell(LOperand* value, LOperand* temp) {
1239 inputs_[0] = value; 1239 inputs_[0] = value;
1240 temps_[0] = temp; 1240 temps_[0] = temp;
1241 } 1241 }
1242 1242
1243 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell") 1243 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell")
1244 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell) 1244 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell)
1245
1246 LOperand* value() { return inputs_[0]; }
1245 }; 1247 };
1246 1248
1247 1249
1248 class LStoreGlobalGeneric: public LTemplateInstruction<0, 2, 0> { 1250 class LStoreGlobalGeneric: public LTemplateInstruction<0, 2, 0> {
1249 public: 1251 public:
1250 explicit LStoreGlobalGeneric(LOperand* global_object, 1252 explicit LStoreGlobalGeneric(LOperand* global_object,
1251 LOperand* value) { 1253 LOperand* value) {
1252 inputs_[0] = global_object; 1254 inputs_[0] = global_object;
1253 inputs_[1] = value; 1255 inputs_[1] = value;
1254 } 1256 }
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
2257 2259
2258 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2260 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2259 }; 2261 };
2260 2262
2261 #undef DECLARE_HYDROGEN_ACCESSOR 2263 #undef DECLARE_HYDROGEN_ACCESSOR
2262 #undef DECLARE_CONCRETE_INSTRUCTION 2264 #undef DECLARE_CONCRETE_INSTRUCTION
2263 2265
2264 } } // namespace v8::internal 2266 } } // namespace v8::internal
2265 2267
2266 #endif // V8_ARM_LITHIUM_ARM_H_ 2268 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698