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

Side by Side Diff: src/arm64/code-stubs-arm64.cc

Issue 1417743007: [runtime] Drop redundant %CharFromCode runtime entry. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/arm/code-stubs-arm.cc ('k') | src/crankshaft/arm/lithium-codegen-arm.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/ic/handler-compiler.h" 10 #include "src/ic/handler-compiler.h"
(...skipping 3092 matching lines...) Expand 10 before | Expand all | Expand 10 after
3103 3103
3104 3104
3105 void StringCharFromCodeGenerator::GenerateSlow( 3105 void StringCharFromCodeGenerator::GenerateSlow(
3106 MacroAssembler* masm, 3106 MacroAssembler* masm,
3107 const RuntimeCallHelper& call_helper) { 3107 const RuntimeCallHelper& call_helper) {
3108 __ Abort(kUnexpectedFallthroughToCharFromCodeSlowCase); 3108 __ Abort(kUnexpectedFallthroughToCharFromCodeSlowCase);
3109 3109
3110 __ Bind(&slow_case_); 3110 __ Bind(&slow_case_);
3111 call_helper.BeforeCall(masm); 3111 call_helper.BeforeCall(masm);
3112 __ Push(code_); 3112 __ Push(code_);
3113 __ CallRuntime(Runtime::kCharFromCode, 1); 3113 __ CallRuntime(Runtime::kStringCharFromCode, 1);
3114 __ Mov(result_, x0); 3114 __ Mov(result_, x0);
3115 call_helper.AfterCall(masm); 3115 call_helper.AfterCall(masm);
3116 __ B(&exit_); 3116 __ B(&exit_);
3117 3117
3118 __ Abort(kUnexpectedFallthroughFromCharFromCodeSlowCase); 3118 __ Abort(kUnexpectedFallthroughFromCharFromCodeSlowCase);
3119 } 3119 }
3120 3120
3121 3121
3122 void CompareICStub::GenerateBooleans(MacroAssembler* masm) { 3122 void CompareICStub::GenerateBooleans(MacroAssembler* masm) {
3123 // Inputs are in x0 (lhs) and x1 (rhs). 3123 // Inputs are in x0 (lhs) and x1 (rhs).
(...skipping 2753 matching lines...) Expand 10 before | Expand all | Expand 10 after
5877 MemOperand(fp, 6 * kPointerSize), NULL); 5877 MemOperand(fp, 6 * kPointerSize), NULL);
5878 } 5878 }
5879 5879
5880 5880
5881 #undef __ 5881 #undef __
5882 5882
5883 } // namespace internal 5883 } // namespace internal
5884 } // namespace v8 5884 } // namespace v8
5885 5885
5886 #endif // V8_TARGET_ARCH_ARM64 5886 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/crankshaft/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698