| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |