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

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

Issue 7122003: Make x64 to use the RecordWrite stub. This is a step towards getting (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 6 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 | « 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 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 1358
1359 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic") 1359 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic")
1360 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric) 1360 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric)
1361 1361
1362 LOperand* global_object() { return inputs_[0]; } 1362 LOperand* global_object() { return inputs_[0]; }
1363 Handle<Object> name() const { return hydrogen()->name(); } 1363 Handle<Object> name() const { return hydrogen()->name(); }
1364 bool for_typeof() const { return hydrogen()->for_typeof(); } 1364 bool for_typeof() const { return hydrogen()->for_typeof(); }
1365 }; 1365 };
1366 1366
1367 1367
1368 class LStoreGlobalCell: public LTemplateInstruction<0, 1, 1> { 1368 class LStoreGlobalCell: public LTemplateInstruction<0, 1, 2> {
1369 public: 1369 public:
1370 explicit LStoreGlobalCell(LOperand* value, LOperand* temp) { 1370 explicit LStoreGlobalCell(LOperand* value, LOperand* temp1, LOperand* temp2) {
1371 inputs_[0] = value; 1371 inputs_[0] = value;
1372 temps_[0] = temp; 1372 temps_[0] = temp1;
1373 temps_[1] = temp2;
1373 } 1374 }
1374 1375
1375 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell") 1376 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell")
1376 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell) 1377 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell)
1377 }; 1378 };
1378 1379
1379 1380
1380 class LStoreGlobalGeneric: public LTemplateInstruction<0, 2, 0> { 1381 class LStoreGlobalGeneric: public LTemplateInstruction<0, 2, 0> {
1381 public: 1382 public:
1382 explicit LStoreGlobalGeneric(LOperand* global_object, 1383 explicit LStoreGlobalGeneric(LOperand* global_object,
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
2324 2325
2325 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2326 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2326 }; 2327 };
2327 2328
2328 #undef DECLARE_HYDROGEN_ACCESSOR 2329 #undef DECLARE_HYDROGEN_ACCESSOR
2329 #undef DECLARE_CONCRETE_INSTRUCTION 2330 #undef DECLARE_CONCRETE_INSTRUCTION
2330 2331
2331 } } // namespace v8::int 2332 } } // namespace v8::int
2332 2333
2333 #endif // V8_X64_LITHIUM_X64_H_ 2334 #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