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

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

Issue 7945009: Merge experimental/gc branch to the bleeding_edge. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 3 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-x64.h ('k') | src/x64/macro-assembler-x64.h » ('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 1714 matching lines...) Expand 10 before | Expand all | Expand 10 after
1725 1725
1726 LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) { 1726 LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) {
1727 LOperand* global_object = UseFixed(instr->global_object(), rax); 1727 LOperand* global_object = UseFixed(instr->global_object(), rax);
1728 LLoadGlobalGeneric* result = new LLoadGlobalGeneric(global_object); 1728 LLoadGlobalGeneric* result = new LLoadGlobalGeneric(global_object);
1729 return MarkAsCall(DefineFixed(result, rax), instr); 1729 return MarkAsCall(DefineFixed(result, rax), instr);
1730 } 1730 }
1731 1731
1732 1732
1733 LInstruction* LChunkBuilder::DoStoreGlobalCell(HStoreGlobalCell* instr) { 1733 LInstruction* LChunkBuilder::DoStoreGlobalCell(HStoreGlobalCell* instr) {
1734 LStoreGlobalCell* result = 1734 LStoreGlobalCell* result =
1735 new LStoreGlobalCell(UseRegister(instr->value()), TempRegister()); 1735 new LStoreGlobalCell(UseTempRegister(instr->value()),
1736 TempRegister(),
1737 TempRegister());
1736 return instr->check_hole_value() ? AssignEnvironment(result) : result; 1738 return instr->check_hole_value() ? AssignEnvironment(result) : result;
1737 } 1739 }
1738 1740
1739 1741
1740 LInstruction* LChunkBuilder::DoStoreGlobalGeneric(HStoreGlobalGeneric* instr) { 1742 LInstruction* LChunkBuilder::DoStoreGlobalGeneric(HStoreGlobalGeneric* instr) {
1741 LOperand* global_object = UseFixed(instr->global_object(), rdx); 1743 LOperand* global_object = UseFixed(instr->global_object(), rdx);
1742 LOperand* value = UseFixed(instr->value(), rax); 1744 LOperand* value = UseFixed(instr->value(), rax);
1743 LStoreGlobalGeneric* result = new LStoreGlobalGeneric(global_object, value); 1745 LStoreGlobalGeneric* result = new LStoreGlobalGeneric(global_object, value);
1744 return MarkAsCall(result, instr); 1746 return MarkAsCall(result, instr);
1745 } 1747 }
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
2170 LOperand* key = UseOrConstantAtStart(instr->key()); 2172 LOperand* key = UseOrConstantAtStart(instr->key());
2171 LOperand* object = UseOrConstantAtStart(instr->object()); 2173 LOperand* object = UseOrConstantAtStart(instr->object());
2172 LIn* result = new LIn(key, object); 2174 LIn* result = new LIn(key, object);
2173 return MarkAsCall(DefineFixed(result, rax), instr); 2175 return MarkAsCall(DefineFixed(result, rax), instr);
2174 } 2176 }
2175 2177
2176 2178
2177 } } // namespace v8::internal 2179 } } // namespace v8::internal
2178 2180
2179 #endif // V8_TARGET_ARCH_X64 2181 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.h ('k') | src/x64/macro-assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698