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

Side by Side Diff: src/mips/builtins-mips.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/isolate.h ('k') | src/mips64/builtins-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 #if V8_TARGET_ARCH_MIPS 5 #if V8_TARGET_ARCH_MIPS
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 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 // Compute the target address = code_obj + header_size + osr_offset 1428 // Compute the target address = code_obj + header_size + osr_offset
1429 // <entry_addr> = <code_obj> + #header_size + <osr_offset> 1429 // <entry_addr> = <code_obj> + #header_size + <osr_offset>
1430 __ addu(v0, v0, a1); 1430 __ addu(v0, v0, a1);
1431 __ addiu(ra, v0, Code::kHeaderSize - kHeapObjectTag); 1431 __ addiu(ra, v0, Code::kHeaderSize - kHeapObjectTag);
1432 1432
1433 // And "return" to the OSR entry point of the function. 1433 // And "return" to the OSR entry point of the function.
1434 __ Ret(); 1434 __ Ret();
1435 } 1435 }
1436 1436
1437 1437
1438 void Builtins::Generate_OsrAfterStackCheck(MacroAssembler* masm) {
1439 // We check the stack limit as indicator that recompilation might be done.
1440 Label ok;
1441 __ LoadRoot(at, Heap::kStackLimitRootIndex);
1442 __ Branch(&ok, hs, sp, Operand(at));
1443 {
1444 FrameScope scope(masm, StackFrame::INTERNAL);
1445 __ CallRuntime(Runtime::kStackGuard);
1446 }
1447 __ Jump(masm->isolate()->builtins()->OnStackReplacement(),
1448 RelocInfo::CODE_TARGET);
1449
1450 __ bind(&ok);
1451 __ Ret();
1452 }
1453
1454
1455 // static 1438 // static
1456 void Builtins::Generate_DatePrototype_GetField(MacroAssembler* masm, 1439 void Builtins::Generate_DatePrototype_GetField(MacroAssembler* masm,
1457 int field_index) { 1440 int field_index) {
1458 // ----------- S t a t e ------------- 1441 // ----------- S t a t e -------------
1459 // -- sp[0] : receiver 1442 // -- sp[0] : receiver
1460 // ----------------------------------- 1443 // -----------------------------------
1461 1444
1462 // 1. Pop receiver into a0 and check that it's actually a JSDate object. 1445 // 1. Pop receiver into a0 and check that it's actually a JSDate object.
1463 Label receiver_not_date; 1446 Label receiver_not_date;
1464 { 1447 {
(...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after
2655 } 2638 }
2656 } 2639 }
2657 2640
2658 2641
2659 #undef __ 2642 #undef __
2660 2643
2661 } // namespace internal 2644 } // namespace internal
2662 } // namespace v8 2645 } // namespace v8
2663 2646
2664 #endif // V8_TARGET_ARCH_MIPS 2647 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/mips64/builtins-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698