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

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

Issue 1773593002: [compiler] Remove support for concurrent OSR. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix release builds. Created 4 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/builtins-mips.cc ('k') | src/objects.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 #if V8_TARGET_ARCH_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
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 1410 matching lines...) Expand 10 before | Expand all | Expand 10 after
1421 // Compute the target address = code_obj + header_size + osr_offset 1421 // Compute the target address = code_obj + header_size + osr_offset
1422 // <entry_addr> = <code_obj> + #header_size + <osr_offset> 1422 // <entry_addr> = <code_obj> + #header_size + <osr_offset>
1423 __ daddu(v0, v0, a1); 1423 __ daddu(v0, v0, a1);
1424 __ daddiu(ra, v0, Code::kHeaderSize - kHeapObjectTag); 1424 __ daddiu(ra, v0, Code::kHeaderSize - kHeapObjectTag);
1425 1425
1426 // And "return" to the OSR entry point of the function. 1426 // And "return" to the OSR entry point of the function.
1427 __ Ret(); 1427 __ Ret();
1428 } 1428 }
1429 1429
1430 1430
1431 void Builtins::Generate_OsrAfterStackCheck(MacroAssembler* masm) {
1432 // We check the stack limit as indicator that recompilation might be done.
1433 Label ok;
1434 __ LoadRoot(at, Heap::kStackLimitRootIndex);
1435 __ Branch(&ok, hs, sp, Operand(at));
1436 {
1437 FrameScope scope(masm, StackFrame::INTERNAL);
1438 __ CallRuntime(Runtime::kStackGuard);
1439 }
1440 __ Jump(masm->isolate()->builtins()->OnStackReplacement(),
1441 RelocInfo::CODE_TARGET);
1442
1443 __ bind(&ok);
1444 __ Ret();
1445 }
1446
1447
1448 // static 1431 // static
1449 void Builtins::Generate_DatePrototype_GetField(MacroAssembler* masm, 1432 void Builtins::Generate_DatePrototype_GetField(MacroAssembler* masm,
1450 int field_index) { 1433 int field_index) {
1451 // ----------- S t a t e ------------- 1434 // ----------- S t a t e -------------
1452 // -- sp[0] : receiver 1435 // -- sp[0] : receiver
1453 // ----------------------------------- 1436 // -----------------------------------
1454 1437
1455 // 1. Pop receiver into a0 and check that it's actually a JSDate object. 1438 // 1. Pop receiver into a0 and check that it's actually a JSDate object.
1456 Label receiver_not_date; 1439 Label receiver_not_date;
1457 { 1440 {
(...skipping 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after
2649 } 2632 }
2650 } 2633 }
2651 2634
2652 2635
2653 #undef __ 2636 #undef __
2654 2637
2655 } // namespace internal 2638 } // namespace internal
2656 } // namespace v8 2639 } // namespace v8
2657 2640
2658 #endif // V8_TARGET_ARCH_MIPS64 2641 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698