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

Side by Side Diff: src/arm/lithium-codegen-arm.cc

Issue 6139002: Implement DoCallKeyed for arm lithium compiler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 11 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 | « no previous file | 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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 1794 matching lines...) Expand 10 before | Expand all | Expand 10 after
1805 DoMathSqrt(instr); 1805 DoMathSqrt(instr);
1806 break; 1806 break;
1807 default: 1807 default:
1808 Abort("Unimplemented type of LUnaryMathOperation."); 1808 Abort("Unimplemented type of LUnaryMathOperation.");
1809 UNREACHABLE(); 1809 UNREACHABLE();
1810 } 1810 }
1811 } 1811 }
1812 1812
1813 1813
1814 void LCodeGen::DoCallKeyed(LCallKeyed* instr) { 1814 void LCodeGen::DoCallKeyed(LCallKeyed* instr) {
1815 Abort("DoCallKeyed unimplemented."); 1815 ASSERT(ToRegister(instr->result()).is(r0));
1816
1817 int arity = instr->arity();
1818 Handle<Code> ic = StubCache::ComputeKeyedCallInitialize(arity, NOT_IN_LOOP);
1819 CallCode(ic, RelocInfo::CODE_TARGET, instr);
1820 __ ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset));
1816 } 1821 }
1817 1822
1818 1823
1819 void LCodeGen::DoCallNamed(LCallNamed* instr) { 1824 void LCodeGen::DoCallNamed(LCallNamed* instr) {
1820 ASSERT(ToRegister(instr->result()).is(r0)); 1825 ASSERT(ToRegister(instr->result()).is(r0));
1821 1826
1822 int arity = instr->arity(); 1827 int arity = instr->arity();
1823 Handle<Code> ic = StubCache::ComputeCallInitialize(arity, NOT_IN_LOOP); 1828 Handle<Code> ic = StubCache::ComputeCallInitialize(arity, NOT_IN_LOOP);
1824 __ mov(r2, Operand(instr->name())); 1829 __ mov(r2, Operand(instr->name()));
1825 CallCode(ic, RelocInfo::CODE_TARGET, instr); 1830 CallCode(ic, RelocInfo::CODE_TARGET, instr);
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
2623 2628
2624 2629
2625 void LCodeGen::DoOsrEntry(LOsrEntry* instr) { 2630 void LCodeGen::DoOsrEntry(LOsrEntry* instr) {
2626 Abort("DoOsrEntry unimplemented."); 2631 Abort("DoOsrEntry unimplemented.");
2627 } 2632 }
2628 2633
2629 2634
2630 #undef __ 2635 #undef __
2631 2636
2632 } } // namespace v8::internal 2637 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698