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

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

Issue 6312185: x64: Implement SmiUntag, SmiTag, LoadHeapObject and LoadNamedGeneric (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 10 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') | no next file » | 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 1584 matching lines...) Expand 10 before | Expand all | Expand 10 after
1595 1595
1596 1596
1597 LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) { 1597 LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) {
1598 ASSERT(instr->representation().IsTagged()); 1598 ASSERT(instr->representation().IsTagged());
1599 LOperand* obj = UseRegisterAtStart(instr->object()); 1599 LOperand* obj = UseRegisterAtStart(instr->object());
1600 return DefineAsRegister(new LLoadNamedField(obj)); 1600 return DefineAsRegister(new LLoadNamedField(obj));
1601 } 1601 }
1602 1602
1603 1603
1604 LInstruction* LChunkBuilder::DoLoadNamedGeneric(HLoadNamedGeneric* instr) { 1604 LInstruction* LChunkBuilder::DoLoadNamedGeneric(HLoadNamedGeneric* instr) {
1605 Abort("Unimplemented: %s", "DoLoadNamedGeneric"); 1605 LOperand* object = UseFixed(instr->object(), rax);
1606 return NULL; 1606 LLoadNamedGeneric* result = new LLoadNamedGeneric(object);
1607 return MarkAsCall(DefineFixed(result, rax), instr);
1607 } 1608 }
1608 1609
1609 1610
1610 LInstruction* LChunkBuilder::DoLoadFunctionPrototype( 1611 LInstruction* LChunkBuilder::DoLoadFunctionPrototype(
1611 HLoadFunctionPrototype* instr) { 1612 HLoadFunctionPrototype* instr) {
1612 Abort("Unimplemented: %s", "DoLoadFunctionPrototype"); 1613 Abort("Unimplemented: %s", "DoLoadFunctionPrototype");
1613 return NULL; 1614 return NULL;
1614 } 1615 }
1615 1616
1616 1617
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
1814 1815
1815 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 1816 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
1816 HEnvironment* outer = current_block_->last_environment()->outer(); 1817 HEnvironment* outer = current_block_->last_environment()->outer();
1817 current_block_->UpdateEnvironment(outer); 1818 current_block_->UpdateEnvironment(outer);
1818 return NULL; 1819 return NULL;
1819 } 1820 }
1820 1821
1821 } } // namespace v8::internal 1822 } } // namespace v8::internal
1822 1823
1823 #endif // V8_TARGET_ARCH_X64 1824 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698