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

Side by Side Diff: src/mips64/builtins-mips64.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 | « src/mips/full-codegen-mips.cc ('k') | src/mips64/full-codegen-mips64.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_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 GenerateTailCallToReturnedCode(masm); 943 GenerateTailCallToReturnedCode(masm);
944 } 944 }
945 945
946 946
947 static void CallCompileOptimized(MacroAssembler* masm, bool concurrent) { 947 static void CallCompileOptimized(MacroAssembler* masm, bool concurrent) {
948 FrameScope scope(masm, StackFrame::INTERNAL); 948 FrameScope scope(masm, StackFrame::INTERNAL);
949 // Push a copy of the function onto the stack. 949 // Push a copy of the function onto the stack.
950 // Push function as parameter to the runtime call. 950 // Push function as parameter to the runtime call.
951 __ Push(a1, a1); 951 __ Push(a1, a1);
952 // Whether to compile in a background thread. 952 // Whether to compile in a background thread.
953 __ Push(masm->isolate()->factory()->ToBoolean(concurrent)); 953 __ LoadRoot(
954 at, concurrent ? Heap::kTrueValueRootIndex : Heap::kFalseValueRootIndex);
955 __ push(at);
954 956
955 __ CallRuntime(Runtime::kCompileOptimized, 2); 957 __ CallRuntime(Runtime::kCompileOptimized, 2);
956 // Restore receiver. 958 // Restore receiver.
957 __ Pop(a1); 959 __ Pop(a1);
958 } 960 }
959 961
960 962
961 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) { 963 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) {
962 CallCompileOptimized(masm, false); 964 CallCompileOptimized(masm, false);
963 GenerateTailCallToReturnedCode(masm); 965 GenerateTailCallToReturnedCode(masm);
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
1686 __ break_(0xCC); 1688 __ break_(0xCC);
1687 } 1689 }
1688 } 1690 }
1689 1691
1690 1692
1691 #undef __ 1693 #undef __
1692 1694
1693 } } // namespace v8::internal 1695 } } // namespace v8::internal
1694 1696
1695 #endif // V8_TARGET_ARCH_MIPS64 1697 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/full-codegen-mips.cc ('k') | src/mips64/full-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698