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

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

Issue 963193005: MIPS: ARM: Load undefined receiver sentinel without constant pool. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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/full-codegen-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 "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS 9 #if V8_TARGET_ARCH_MIPS
10 10
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 GenerateTailCallToReturnedCode(masm); 934 GenerateTailCallToReturnedCode(masm);
935 } 935 }
936 936
937 937
938 static void CallCompileOptimized(MacroAssembler* masm, bool concurrent) { 938 static void CallCompileOptimized(MacroAssembler* masm, bool concurrent) {
939 FrameScope scope(masm, StackFrame::INTERNAL); 939 FrameScope scope(masm, StackFrame::INTERNAL);
940 // Push a copy of the function onto the stack. 940 // Push a copy of the function onto the stack.
941 // Push function as parameter to the runtime call. 941 // Push function as parameter to the runtime call.
942 __ Push(a1, a1); 942 __ Push(a1, a1);
943 // Whether to compile in a background thread. 943 // Whether to compile in a background thread.
944 __ Push(masm->isolate()->factory()->ToBoolean(concurrent)); 944 __ LoadRoot(
945 at, concurrent ? Heap::kTrueValueRootIndex : Heap::kFalseValueRootIndex);
946 __ push(at);
945 947
946 __ CallRuntime(Runtime::kCompileOptimized, 2); 948 __ CallRuntime(Runtime::kCompileOptimized, 2);
947 // Restore receiver. 949 // Restore receiver.
948 __ Pop(a1); 950 __ Pop(a1);
949 } 951 }
950 952
951 953
952 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) { 954 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) {
953 CallCompileOptimized(masm, false); 955 CallCompileOptimized(masm, false);
954 GenerateTailCallToReturnedCode(masm); 956 GenerateTailCallToReturnedCode(masm);
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
1677 __ break_(0xCC); 1679 __ break_(0xCC);
1678 } 1680 }
1679 } 1681 }
1680 1682
1681 1683
1682 #undef __ 1684 #undef __
1683 1685
1684 } } // namespace v8::internal 1686 } } // namespace v8::internal
1685 1687
1686 #endif // V8_TARGET_ARCH_MIPS 1688 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips/full-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698