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

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

Issue 6306014: Fix reintroduction of global variables that have been deleted. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments. Created 9 years, 11 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 | « 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 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after
1247 }; 1247 };
1248 1248
1249 1249
1250 class LLoadGlobal: public LTemplateInstruction<1, 0, 0> { 1250 class LLoadGlobal: public LTemplateInstruction<1, 0, 0> {
1251 public: 1251 public:
1252 DECLARE_CONCRETE_INSTRUCTION(LoadGlobal, "load-global") 1252 DECLARE_CONCRETE_INSTRUCTION(LoadGlobal, "load-global")
1253 DECLARE_HYDROGEN_ACCESSOR(LoadGlobal) 1253 DECLARE_HYDROGEN_ACCESSOR(LoadGlobal)
1254 }; 1254 };
1255 1255
1256 1256
1257 class LStoreGlobal: public LTemplateInstruction<0, 1, 0> { 1257 class LStoreGlobal: public LTemplateInstruction<0, 1, 1> {
1258 public: 1258 public:
1259 explicit LStoreGlobal(LOperand* value) { 1259 LStoreGlobal(LOperand* value, LOperand* temp) {
1260 inputs_[0] = value; 1260 inputs_[0] = value;
1261 temps_[0] = temp;
1261 } 1262 }
1262 1263
1263 DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global") 1264 DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global")
1264 DECLARE_HYDROGEN_ACCESSOR(StoreGlobal) 1265 DECLARE_HYDROGEN_ACCESSOR(StoreGlobal)
1265 }; 1266 };
1266 1267
1267 1268
1268 class LLoadContextSlot: public LTemplateInstruction<1, 0, 0> { 1269 class LLoadContextSlot: public LTemplateInstruction<1, 0, 0> {
1269 public: 1270 public:
1270 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") 1271 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot")
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
1994 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 1995 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
1995 }; 1996 };
1996 1997
1997 #undef DECLARE_HYDROGEN_ACCESSOR 1998 #undef DECLARE_HYDROGEN_ACCESSOR
1998 #undef DECLARE_INSTRUCTION 1999 #undef DECLARE_INSTRUCTION
1999 #undef DECLARE_CONCRETE_INSTRUCTION 2000 #undef DECLARE_CONCRETE_INSTRUCTION
2000 2001
2001 } } // namespace v8::internal 2002 } } // namespace v8::internal
2002 2003
2003 #endif // V8_ARM_LITHIUM_ARM_H_ 2004 #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