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

Side by Side Diff: src/x64/lithium-x64.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/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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 1213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1224 1224
1225 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic") 1225 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic")
1226 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric) 1226 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric)
1227 1227
1228 LOperand* global_object() { return inputs_[0]; } 1228 LOperand* global_object() { return inputs_[0]; }
1229 Handle<Object> name() const { return hydrogen()->name(); } 1229 Handle<Object> name() const { return hydrogen()->name(); }
1230 bool for_typeof() const { return hydrogen()->for_typeof(); } 1230 bool for_typeof() const { return hydrogen()->for_typeof(); }
1231 }; 1231 };
1232 1232
1233 1233
1234 class LStoreGlobalCell: public LTemplateInstruction<0, 1, 2> { 1234 class LStoreGlobalCell: public LTemplateInstruction<0, 1, 1> {
1235 public: 1235 public:
1236 explicit LStoreGlobalCell(LOperand* value, LOperand* temp1, LOperand* temp2) { 1236 explicit LStoreGlobalCell(LOperand* value, LOperand* temp) {
1237 inputs_[0] = value; 1237 inputs_[0] = value;
1238 temps_[0] = temp1; 1238 temps_[0] = temp;
1239 temps_[1] = temp2;
1240 } 1239 }
1241 1240
1242 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell") 1241 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell")
1243 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell) 1242 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell)
1243
1244 LOperand* value() { return inputs_[0]; }
1244 }; 1245 };
1245 1246
1246 1247
1247 class LStoreGlobalGeneric: public LTemplateInstruction<0, 2, 0> { 1248 class LStoreGlobalGeneric: public LTemplateInstruction<0, 2, 0> {
1248 public: 1249 public:
1249 explicit LStoreGlobalGeneric(LOperand* global_object, 1250 explicit LStoreGlobalGeneric(LOperand* global_object,
1250 LOperand* value) { 1251 LOperand* value) {
1251 inputs_[0] = global_object; 1252 inputs_[0] = global_object;
1252 inputs_[1] = value; 1253 inputs_[1] = value;
1253 } 1254 }
(...skipping 990 matching lines...) Expand 10 before | Expand all | Expand 10 after
2244 2245
2245 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2246 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2246 }; 2247 };
2247 2248
2248 #undef DECLARE_HYDROGEN_ACCESSOR 2249 #undef DECLARE_HYDROGEN_ACCESSOR
2249 #undef DECLARE_CONCRETE_INSTRUCTION 2250 #undef DECLARE_CONCRETE_INSTRUCTION
2250 2251
2251 } } // namespace v8::int 2252 } } // namespace v8::int
2252 2253
2253 #endif // V8_X64_LITHIUM_X64_H_ 2254 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698