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

Side by Side Diff: src/full-codegen/s390/full-codegen-s390.cc

Issue 2670073002: [stubs] Fix naming of CallIC and CallICTrampoline. (Closed)
Patch Set: Created 3 years, 10 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/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/full-codegen/x64/full-codegen-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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/ast/compile-time-value.h" 7 #include "src/ast/compile-time-value.h"
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/builtins/builtins-constructor.h" 9 #include "src/builtins/builtins-constructor.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 1840 matching lines...) Expand 10 before | Expand all | Expand 10 after
1851 SetCallPosition(expr, expr->tail_call_mode()); 1851 SetCallPosition(expr, expr->tail_call_mode());
1852 if (expr->tail_call_mode() == TailCallMode::kAllow) { 1852 if (expr->tail_call_mode() == TailCallMode::kAllow) {
1853 if (FLAG_trace) { 1853 if (FLAG_trace) {
1854 __ CallRuntime(Runtime::kTraceTailCall); 1854 __ CallRuntime(Runtime::kTraceTailCall);
1855 } 1855 }
1856 // Update profiling counters before the tail call since we will 1856 // Update profiling counters before the tail call since we will
1857 // not return to this function. 1857 // not return to this function.
1858 EmitProfilingCounterHandlingForReturnSequence(true); 1858 EmitProfilingCounterHandlingForReturnSequence(true);
1859 } 1859 }
1860 Handle<Code> code = 1860 Handle<Code> code =
1861 CodeFactory::CallIC(isolate(), mode, expr->tail_call_mode()).code(); 1861 CodeFactory::CallICTrampoline(isolate(), mode, expr->tail_call_mode())
1862 .code();
1862 __ LoadSmiLiteral(r5, SmiFromSlot(expr->CallFeedbackICSlot())); 1863 __ LoadSmiLiteral(r5, SmiFromSlot(expr->CallFeedbackICSlot()));
1863 __ LoadP(r3, MemOperand(sp, (arg_count + 1) * kPointerSize), r0); 1864 __ LoadP(r3, MemOperand(sp, (arg_count + 1) * kPointerSize), r0);
1864 __ mov(r2, Operand(arg_count)); 1865 __ mov(r2, Operand(arg_count));
1865 CallIC(code); 1866 CallIC(code);
1866 OperandStackDepthDecrement(arg_count + 1); 1867 OperandStackDepthDecrement(arg_count + 1);
1867 1868
1868 RecordJSReturnSite(expr); 1869 RecordJSReturnSite(expr);
1869 RestoreContext(); 1870 RestoreContext();
1870 context()->DropAndPlug(1, r2); 1871 context()->DropAndPlug(1, r2);
1871 } 1872 }
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after
2784 USE(kOSRBranchInstruction); 2785 USE(kOSRBranchInstruction);
2785 DCHECK(kOSRBranchInstruction == br_instr); 2786 DCHECK(kOSRBranchInstruction == br_instr);
2786 2787
2787 DCHECK(interrupt_address == 2788 DCHECK(interrupt_address ==
2788 isolate->builtins()->OnStackReplacement()->entry()); 2789 isolate->builtins()->OnStackReplacement()->entry());
2789 return ON_STACK_REPLACEMENT; 2790 return ON_STACK_REPLACEMENT;
2790 } 2791 }
2791 } // namespace internal 2792 } // namespace internal
2792 } // namespace v8 2793 } // namespace v8
2793 #endif // V8_TARGET_ARCH_S390 2794 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/full-codegen/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698