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

Side by Side Diff: src/full-codegen/ppc/full-codegen-ppc.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
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/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 1885 matching lines...) Expand 10 before | Expand all | Expand 10 after
1896 SetCallPosition(expr, expr->tail_call_mode()); 1896 SetCallPosition(expr, expr->tail_call_mode());
1897 if (expr->tail_call_mode() == TailCallMode::kAllow) { 1897 if (expr->tail_call_mode() == TailCallMode::kAllow) {
1898 if (FLAG_trace) { 1898 if (FLAG_trace) {
1899 __ CallRuntime(Runtime::kTraceTailCall); 1899 __ CallRuntime(Runtime::kTraceTailCall);
1900 } 1900 }
1901 // Update profiling counters before the tail call since we will 1901 // Update profiling counters before the tail call since we will
1902 // not return to this function. 1902 // not return to this function.
1903 EmitProfilingCounterHandlingForReturnSequence(true); 1903 EmitProfilingCounterHandlingForReturnSequence(true);
1904 } 1904 }
1905 Handle<Code> code = 1905 Handle<Code> code =
1906 CodeFactory::CallIC(isolate(), mode, expr->tail_call_mode()).code(); 1906 CodeFactory::CallICTrampoline(isolate(), mode, expr->tail_call_mode())
1907 .code();
1907 __ LoadSmiLiteral(r6, SmiFromSlot(expr->CallFeedbackICSlot())); 1908 __ LoadSmiLiteral(r6, SmiFromSlot(expr->CallFeedbackICSlot()));
1908 __ LoadP(r4, MemOperand(sp, (arg_count + 1) * kPointerSize), r0); 1909 __ LoadP(r4, MemOperand(sp, (arg_count + 1) * kPointerSize), r0);
1909 __ mov(r3, Operand(arg_count)); 1910 __ mov(r3, Operand(arg_count));
1910 CallIC(code); 1911 CallIC(code);
1911 OperandStackDepthDecrement(arg_count + 1); 1912 OperandStackDepthDecrement(arg_count + 1);
1912 1913
1913 RecordJSReturnSite(expr); 1914 RecordJSReturnSite(expr);
1914 RestoreContext(); 1915 RestoreContext();
1915 context()->DropAndPlug(1, r3); 1916 context()->DropAndPlug(1, r3);
1916 } 1917 }
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
2847 2848
2848 DCHECK(Assembler::IsCrSet(Assembler::instr_at(cmp_address))); 2849 DCHECK(Assembler::IsCrSet(Assembler::instr_at(cmp_address)));
2849 2850
2850 DCHECK(interrupt_address == 2851 DCHECK(interrupt_address ==
2851 isolate->builtins()->OnStackReplacement()->entry()); 2852 isolate->builtins()->OnStackReplacement()->entry());
2852 return ON_STACK_REPLACEMENT; 2853 return ON_STACK_REPLACEMENT;
2853 } 2854 }
2854 } // namespace internal 2855 } // namespace internal
2855 } // namespace v8 2856 } // namespace v8
2856 #endif // V8_TARGET_ARCH_PPC 2857 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/full-codegen/mips64/full-codegen-mips64.cc ('k') | src/full-codegen/s390/full-codegen-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698