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

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

Issue 1903273004: [compiler] Add baseline tier to compilation pipeline. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments. Created 4 years, 8 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/runtime/runtime-compiler.cc ('k') | src/x64/builtins-x64.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #if V8_TARGET_ARCH_S390 5 #if V8_TARGET_ARCH_S390
6 6
7 #include "src/codegen.h" 7 #include "src/codegen.h"
8 #include "src/debug/debug.h" 8 #include "src/debug/debug.h"
9 #include "src/deoptimizer.h" 9 #include "src/deoptimizer.h"
10 #include "src/full-codegen/full-codegen.h" 10 #include "src/full-codegen/full-codegen.h"
(...skipping 1344 matching lines...) Expand 10 before | Expand all | Expand 10 after
1355 // Yes, install the full code. 1355 // Yes, install the full code.
1356 __ AddP(entry, entry, Operand(Code::kHeaderSize - kHeapObjectTag)); 1356 __ AddP(entry, entry, Operand(Code::kHeaderSize - kHeapObjectTag));
1357 __ StoreP(entry, FieldMemOperand(closure, JSFunction::kCodeEntryOffset), r0); 1357 __ StoreP(entry, FieldMemOperand(closure, JSFunction::kCodeEntryOffset), r0);
1358 __ RecordWriteCodeEntryField(closure, entry, r7); 1358 __ RecordWriteCodeEntryField(closure, entry, r7);
1359 __ JumpToJSEntry(entry); 1359 __ JumpToJSEntry(entry);
1360 1360
1361 __ bind(&gotta_call_runtime); 1361 __ bind(&gotta_call_runtime);
1362 GenerateTailCallToReturnedCode(masm, Runtime::kCompileLazy); 1362 GenerateTailCallToReturnedCode(masm, Runtime::kCompileLazy);
1363 } 1363 }
1364 1364
1365 void Builtins::Generate_CompileBaseline(MacroAssembler* masm) {
1366 GenerateTailCallToReturnedCode(masm, Runtime::kCompileBaseline);
1367 }
1368
1365 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) { 1369 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) {
1366 GenerateTailCallToReturnedCode(masm, 1370 GenerateTailCallToReturnedCode(masm,
1367 Runtime::kCompileOptimized_NotConcurrent); 1371 Runtime::kCompileOptimized_NotConcurrent);
1368 } 1372 }
1369 1373
1370 void Builtins::Generate_CompileOptimizedConcurrent(MacroAssembler* masm) { 1374 void Builtins::Generate_CompileOptimizedConcurrent(MacroAssembler* masm) {
1371 GenerateTailCallToReturnedCode(masm, Runtime::kCompileOptimized_Concurrent); 1375 GenerateTailCallToReturnedCode(masm, Runtime::kCompileOptimized_Concurrent);
1372 } 1376 }
1373 1377
1374 static void GenerateMakeCodeYoungAgainCommon(MacroAssembler* masm) { 1378 static void GenerateMakeCodeYoungAgainCommon(MacroAssembler* masm) {
(...skipping 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after
2805 __ bkpt(0); 2809 __ bkpt(0);
2806 } 2810 }
2807 } 2811 }
2808 2812
2809 #undef __ 2813 #undef __
2810 2814
2811 } // namespace internal 2815 } // namespace internal
2812 } // namespace v8 2816 } // namespace v8
2813 2817
2814 #endif // V8_TARGET_ARCH_S390 2818 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/runtime/runtime-compiler.cc ('k') | src/x64/builtins-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698