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

Side by Side Diff: src/mips/builtins-mips.cc

Issue 260753004: MIPS: CallICStub with a "never patch" approach by default. (Closed) Base URL: https://github.com/v8/v8.git@gbl
Patch Set: 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
« no previous file with comments | « no previous file | src/mips/code-stubs-mips.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 5
6 6
7 #include "v8.h" 7 #include "v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS 9 #if V8_TARGET_ARCH_MIPS
10 10
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 __ mov(s4, t0); 792 __ mov(s4, t0);
793 __ mov(s5, t0); 793 __ mov(s5, t0);
794 // s6 holds the root address. Do not clobber. 794 // s6 holds the root address. Do not clobber.
795 // s7 is cp. Do not init. 795 // s7 is cp. Do not init.
796 796
797 // Invoke the code and pass argc as a0. 797 // Invoke the code and pass argc as a0.
798 __ mov(a0, a3); 798 __ mov(a0, a3);
799 if (is_construct) { 799 if (is_construct) {
800 // No type feedback cell is available 800 // No type feedback cell is available
801 __ LoadRoot(a2, Heap::kUndefinedValueRootIndex); 801 __ LoadRoot(a2, Heap::kUndefinedValueRootIndex);
802 CallConstructStub stub(masm->isolate(), NO_CALL_FUNCTION_FLAGS); 802 CallConstructStub stub(masm->isolate(), NO_CALL_CONSTRUCTOR_FLAGS);
803 __ CallStub(&stub); 803 __ CallStub(&stub);
804 } else { 804 } else {
805 ParameterCount actual(a0); 805 ParameterCount actual(a0);
806 __ InvokeFunction(a1, actual, CALL_FUNCTION, NullCallWrapper()); 806 __ InvokeFunction(a1, actual, CALL_FUNCTION, NullCallWrapper());
807 } 807 }
808 808
809 // Leave internal frame. 809 // Leave internal frame.
810 } 810 }
811 811
812 __ Jump(ra); 812 __ Jump(ra);
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
1570 __ break_(0xCC); 1570 __ break_(0xCC);
1571 } 1571 }
1572 } 1572 }
1573 1573
1574 1574
1575 #undef __ 1575 #undef __
1576 1576
1577 } } // namespace v8::internal 1577 } } // namespace v8::internal
1578 1578
1579 #endif // V8_TARGET_ARCH_MIPS 1579 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698