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/ia32/lithium-ia32.h

Issue 9020006: Version 3.8.2 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
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 | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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 1251 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic") 1262 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic")
1263 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric) 1263 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric)
1264 1264
1265 LOperand* context() { return inputs_[0]; } 1265 LOperand* context() { return inputs_[0]; }
1266 LOperand* global_object() { return inputs_[1]; } 1266 LOperand* global_object() { return inputs_[1]; }
1267 Handle<Object> name() const { return hydrogen()->name(); } 1267 Handle<Object> name() const { return hydrogen()->name(); }
1268 bool for_typeof() const { return hydrogen()->for_typeof(); } 1268 bool for_typeof() const { return hydrogen()->for_typeof(); }
1269 }; 1269 };
1270 1270
1271 1271
1272 class LStoreGlobalCell: public LTemplateInstruction<0, 1, 2> { 1272 class LStoreGlobalCell: public LTemplateInstruction<0, 1, 0> {
1273 public: 1273 public:
1274 explicit LStoreGlobalCell(LOperand* value, LOperand* temp1, LOperand* temp2) { 1274 explicit LStoreGlobalCell(LOperand* value) {
1275 inputs_[0] = value; 1275 inputs_[0] = value;
1276 temps_[0] = temp1;
1277 temps_[1] = temp2;
1278 } 1276 }
1279 1277
1280 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell") 1278 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell")
1281 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell) 1279 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell)
1280
1281 LOperand* value() { return inputs_[0]; }
1282 }; 1282 };
1283 1283
1284 1284
1285 class LStoreGlobalGeneric: public LTemplateInstruction<0, 3, 0> { 1285 class LStoreGlobalGeneric: public LTemplateInstruction<0, 3, 0> {
1286 public: 1286 public:
1287 LStoreGlobalGeneric(LOperand* context, 1287 LStoreGlobalGeneric(LOperand* context,
1288 LOperand* global_object, 1288 LOperand* global_object,
1289 LOperand* value) { 1289 LOperand* value) {
1290 inputs_[0] = context; 1290 inputs_[0] = context;
1291 inputs_[1] = global_object; 1291 inputs_[1] = global_object;
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
2375 2375
2376 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2376 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2377 }; 2377 };
2378 2378
2379 #undef DECLARE_HYDROGEN_ACCESSOR 2379 #undef DECLARE_HYDROGEN_ACCESSOR
2380 #undef DECLARE_CONCRETE_INSTRUCTION 2380 #undef DECLARE_CONCRETE_INSTRUCTION
2381 2381
2382 } } // namespace v8::internal 2382 } } // namespace v8::internal
2383 2383
2384 #endif // V8_IA32_LITHIUM_IA32_H_ 2384 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698