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

Side by Side Diff: src/arm/builtins-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 | « no previous file | src/arm/code-stubs-arm.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 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "codegen.h" 9 #include "codegen.h"
10 #include "debug.h" 10 #include "debug.h"
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 } 775 }
776 if (kR9Available == 1) { 776 if (kR9Available == 1) {
777 __ mov(r9, Operand(r4)); 777 __ mov(r9, Operand(r4));
778 } 778 }
779 779
780 // Invoke the code and pass argc as r0. 780 // Invoke the code and pass argc as r0.
781 __ mov(r0, Operand(r3)); 781 __ mov(r0, Operand(r3));
782 if (is_construct) { 782 if (is_construct) {
783 // No type feedback cell is available 783 // No type feedback cell is available
784 __ LoadRoot(r2, Heap::kUndefinedValueRootIndex); 784 __ LoadRoot(r2, Heap::kUndefinedValueRootIndex);
785 CallConstructStub stub(masm->isolate(), NO_CALL_FUNCTION_FLAGS); 785 CallConstructStub stub(masm->isolate(), NO_CALL_CONSTRUCTOR_FLAGS);
786 __ CallStub(&stub); 786 __ CallStub(&stub);
787 } else { 787 } else {
788 ParameterCount actual(r0); 788 ParameterCount actual(r0);
789 __ InvokeFunction(r1, actual, CALL_FUNCTION, NullCallWrapper()); 789 __ InvokeFunction(r1, actual, CALL_FUNCTION, NullCallWrapper());
790 } 790 }
791 // Exit the JS frame and remove the parameters (except function), and 791 // Exit the JS frame and remove the parameters (except function), and
792 // return. 792 // return.
793 // Respect ABI stack constraint. 793 // Respect ABI stack constraint.
794 } 794 }
795 __ Jump(lr); 795 __ Jump(lr);
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
1551 __ bkpt(0); 1551 __ bkpt(0);
1552 } 1552 }
1553 } 1553 }
1554 1554
1555 1555
1556 #undef __ 1556 #undef __
1557 1557
1558 } } // namespace v8::internal 1558 } } // namespace v8::internal
1559 1559
1560 #endif // V8_TARGET_ARCH_ARM 1560 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/code-stubs-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698