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

Side by Side Diff: src/ia32/code-stubs-ia32.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/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/mips/code-stubs-mips.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_IA32 5 #if V8_TARGET_ARCH_IA32
6 6
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/bootstrapper.h" 8 #include "src/bootstrapper.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 2739 matching lines...) Expand 10 before | Expand all | Expand 10 after
2750 2750
2751 2751
2752 void StringCharFromCodeGenerator::GenerateSlow( 2752 void StringCharFromCodeGenerator::GenerateSlow(
2753 MacroAssembler* masm, 2753 MacroAssembler* masm,
2754 const RuntimeCallHelper& call_helper) { 2754 const RuntimeCallHelper& call_helper) {
2755 __ Abort(kUnexpectedFallthroughToCharFromCodeSlowCase); 2755 __ Abort(kUnexpectedFallthroughToCharFromCodeSlowCase);
2756 2756
2757 __ bind(&slow_case_); 2757 __ bind(&slow_case_);
2758 call_helper.BeforeCall(masm); 2758 call_helper.BeforeCall(masm);
2759 __ push(code_); 2759 __ push(code_);
2760 __ CallRuntime(Runtime::kCharFromCode, 1); 2760 __ CallRuntime(Runtime::kStringCharFromCode, 1);
2761 if (!result_.is(eax)) { 2761 if (!result_.is(eax)) {
2762 __ mov(result_, eax); 2762 __ mov(result_, eax);
2763 } 2763 }
2764 call_helper.AfterCall(masm); 2764 call_helper.AfterCall(masm);
2765 __ jmp(&exit_); 2765 __ jmp(&exit_);
2766 2766
2767 __ Abort(kUnexpectedFallthroughFromCharFromCodeSlowCase); 2767 __ Abort(kUnexpectedFallthroughFromCharFromCodeSlowCase);
2768 } 2768 }
2769 2769
2770 2770
(...skipping 2974 matching lines...) Expand 10 before | Expand all | Expand 10 after
5745 Operand(ebp, 7 * kPointerSize), NULL); 5745 Operand(ebp, 7 * kPointerSize), NULL);
5746 } 5746 }
5747 5747
5748 5748
5749 #undef __ 5749 #undef __
5750 5750
5751 } // namespace internal 5751 } // namespace internal
5752 } // namespace v8 5752 } // namespace v8
5753 5753
5754 #endif // V8_TARGET_ARCH_IA32 5754 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698