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

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

Issue 247373002: CallICStub with a "never patch" approach until customization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE + code size multiplier. Created 6 years, 7 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/arm/full-codegen-arm.cc ('k') | src/arm64/builtins-arm64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "v8.h" 5 #include "v8.h"
6 6
7 #include "arm/lithium-codegen-arm.h" 7 #include "arm/lithium-codegen-arm.h"
8 #include "arm/lithium-gap-resolver-arm.h" 8 #include "arm/lithium-gap-resolver-arm.h"
9 #include "code-stubs.h" 9 #include "code-stubs.h"
10 #include "stub-cache.h" 10 #include "stub-cache.h"
(...skipping 3966 matching lines...) Expand 10 before | Expand all | Expand 10 after
3977 3977
3978 3978
3979 void LCodeGen::DoCallNew(LCallNew* instr) { 3979 void LCodeGen::DoCallNew(LCallNew* instr) {
3980 ASSERT(ToRegister(instr->context()).is(cp)); 3980 ASSERT(ToRegister(instr->context()).is(cp));
3981 ASSERT(ToRegister(instr->constructor()).is(r1)); 3981 ASSERT(ToRegister(instr->constructor()).is(r1));
3982 ASSERT(ToRegister(instr->result()).is(r0)); 3982 ASSERT(ToRegister(instr->result()).is(r0));
3983 3983
3984 __ mov(r0, Operand(instr->arity())); 3984 __ mov(r0, Operand(instr->arity()));
3985 // No cell in r2 for construct type feedback in optimized code 3985 // No cell in r2 for construct type feedback in optimized code
3986 __ LoadRoot(r2, Heap::kUndefinedValueRootIndex); 3986 __ LoadRoot(r2, Heap::kUndefinedValueRootIndex);
3987 CallConstructStub stub(isolate(), NO_CALL_FUNCTION_FLAGS); 3987 CallConstructStub stub(isolate(), NO_CALL_CONSTRUCTOR_FLAGS);
3988 CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); 3988 CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr);
3989 } 3989 }
3990 3990
3991 3991
3992 void LCodeGen::DoCallNewArray(LCallNewArray* instr) { 3992 void LCodeGen::DoCallNewArray(LCallNewArray* instr) {
3993 ASSERT(ToRegister(instr->context()).is(cp)); 3993 ASSERT(ToRegister(instr->context()).is(cp));
3994 ASSERT(ToRegister(instr->constructor()).is(r1)); 3994 ASSERT(ToRegister(instr->constructor()).is(r1));
3995 ASSERT(ToRegister(instr->result()).is(r0)); 3995 ASSERT(ToRegister(instr->result()).is(r0));
3996 3996
3997 __ mov(r0, Operand(instr->arity())); 3997 __ mov(r0, Operand(instr->arity()));
(...skipping 1838 matching lines...) Expand 10 before | Expand all | Expand 10 after
5836 __ ldr(result, FieldMemOperand(scratch, 5836 __ ldr(result, FieldMemOperand(scratch,
5837 FixedArray::kHeaderSize - kPointerSize)); 5837 FixedArray::kHeaderSize - kPointerSize));
5838 __ bind(deferred->exit()); 5838 __ bind(deferred->exit());
5839 __ bind(&done); 5839 __ bind(&done);
5840 } 5840 }
5841 5841
5842 5842
5843 #undef __ 5843 #undef __
5844 5844
5845 } } // namespace v8::internal 5845 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm64/builtins-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698