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

Side by Side Diff: src/mips64/code-stubs-mips64.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/mips/code-stubs-mips.cc ('k') | src/runtime/runtime.h » ('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/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 2882 matching lines...) Expand 10 before | Expand all | Expand 10 after
2893 2893
2894 2894
2895 void StringCharFromCodeGenerator::GenerateSlow( 2895 void StringCharFromCodeGenerator::GenerateSlow(
2896 MacroAssembler* masm, 2896 MacroAssembler* masm,
2897 const RuntimeCallHelper& call_helper) { 2897 const RuntimeCallHelper& call_helper) {
2898 __ Abort(kUnexpectedFallthroughToCharFromCodeSlowCase); 2898 __ Abort(kUnexpectedFallthroughToCharFromCodeSlowCase);
2899 2899
2900 __ bind(&slow_case_); 2900 __ bind(&slow_case_);
2901 call_helper.BeforeCall(masm); 2901 call_helper.BeforeCall(masm);
2902 __ push(code_); 2902 __ push(code_);
2903 __ CallRuntime(Runtime::kCharFromCode, 1); 2903 __ CallRuntime(Runtime::kStringCharFromCode, 1);
2904 __ Move(result_, v0); 2904 __ Move(result_, v0);
2905 2905
2906 call_helper.AfterCall(masm); 2906 call_helper.AfterCall(masm);
2907 __ Branch(&exit_); 2907 __ Branch(&exit_);
2908 2908
2909 __ Abort(kUnexpectedFallthroughFromCharFromCodeSlowCase); 2909 __ Abort(kUnexpectedFallthroughFromCharFromCodeSlowCase);
2910 } 2910 }
2911 2911
2912 2912
2913 enum CopyCharactersFlags { COPY_ONE_BYTE = 1, DEST_ALWAYS_ALIGNED = 2 }; 2913 enum CopyCharactersFlags { COPY_ONE_BYTE = 1, DEST_ALWAYS_ALIGNED = 2 };
(...skipping 2751 matching lines...) Expand 10 before | Expand all | Expand 10 after
5665 MemOperand(fp, 6 * kPointerSize), NULL); 5665 MemOperand(fp, 6 * kPointerSize), NULL);
5666 } 5666 }
5667 5667
5668 5668
5669 #undef __ 5669 #undef __
5670 5670
5671 } // namespace internal 5671 } // namespace internal
5672 } // namespace v8 5672 } // namespace v8
5673 5673
5674 #endif // V8_TARGET_ARCH_MIPS64 5674 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698