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

Side by Side Diff: src/ppc/builtins-ppc.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/objects-inl.h ('k') | src/runtime-profiler.h » ('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_PPC 5 #if V8_TARGET_ARCH_PPC
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 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 // Yes, install the full code. 1374 // Yes, install the full code.
1375 __ addi(entry, entry, Operand(Code::kHeaderSize - kHeapObjectTag)); 1375 __ addi(entry, entry, Operand(Code::kHeaderSize - kHeapObjectTag));
1376 __ StoreP(entry, FieldMemOperand(closure, JSFunction::kCodeEntryOffset), r0); 1376 __ StoreP(entry, FieldMemOperand(closure, JSFunction::kCodeEntryOffset), r0);
1377 __ RecordWriteCodeEntryField(closure, entry, r8); 1377 __ RecordWriteCodeEntryField(closure, entry, r8);
1378 __ JumpToJSEntry(entry); 1378 __ JumpToJSEntry(entry);
1379 1379
1380 __ bind(&gotta_call_runtime); 1380 __ bind(&gotta_call_runtime);
1381 GenerateTailCallToReturnedCode(masm, Runtime::kCompileLazy); 1381 GenerateTailCallToReturnedCode(masm, Runtime::kCompileLazy);
1382 } 1382 }
1383 1383
1384 void Builtins::Generate_CompileBaseline(MacroAssembler* masm) {
1385 GenerateTailCallToReturnedCode(masm, Runtime::kCompileBaseline);
1386 }
1384 1387
1385 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) { 1388 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) {
1386 GenerateTailCallToReturnedCode(masm, 1389 GenerateTailCallToReturnedCode(masm,
1387 Runtime::kCompileOptimized_NotConcurrent); 1390 Runtime::kCompileOptimized_NotConcurrent);
1388 } 1391 }
1389 1392
1390 1393
1391 void Builtins::Generate_CompileOptimizedConcurrent(MacroAssembler* masm) { 1394 void Builtins::Generate_CompileOptimizedConcurrent(MacroAssembler* masm) {
1392 GenerateTailCallToReturnedCode(masm, Runtime::kCompileOptimized_Concurrent); 1395 GenerateTailCallToReturnedCode(masm, Runtime::kCompileOptimized_Concurrent);
1393 } 1396 }
(...skipping 1458 matching lines...) Expand 10 before | Expand all | Expand 10 after
2852 __ bkpt(0); 2855 __ bkpt(0);
2853 } 2856 }
2854 } 2857 }
2855 2858
2856 2859
2857 #undef __ 2860 #undef __
2858 } // namespace internal 2861 } // namespace internal
2859 } // namespace v8 2862 } // namespace v8
2860 2863
2861 #endif // V8_TARGET_ARCH_PPC 2864 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime-profiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698