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

Side by Side Diff: src/arm64/macro-assembler-arm64.cc

Issue 1248303002: Unify runtime-style IC functions with Runtime intrinsics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Make mips work Created 5 years, 5 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
« no previous file with comments | « src/arm64/debug-arm64.cc ('k') | src/assembler.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 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/base/division-by-constant.h" 10 #include "src/base/division-by-constant.h"
(...skipping 3031 matching lines...) Expand 10 before | Expand all | Expand 10 after
3042 // Slot is in the current function context. Move it into the 3042 // Slot is in the current function context. Move it into the
3043 // destination register in case we store into it (the write barrier 3043 // destination register in case we store into it (the write barrier
3044 // cannot be allowed to destroy the context in cp). 3044 // cannot be allowed to destroy the context in cp).
3045 Mov(dst, cp); 3045 Mov(dst, cp);
3046 } 3046 }
3047 } 3047 }
3048 3048
3049 3049
3050 void MacroAssembler::DebugBreak() { 3050 void MacroAssembler::DebugBreak() {
3051 Mov(x0, 0); 3051 Mov(x0, 0);
3052 Mov(x1, ExternalReference(Runtime::kDebugBreak, isolate())); 3052 Mov(x1, ExternalReference(Runtime::kHandleDebuggerStatement, isolate()));
3053 CEntryStub ces(isolate(), 1); 3053 CEntryStub ces(isolate(), 1);
3054 DCHECK(AllowThisStubCall(&ces)); 3054 DCHECK(AllowThisStubCall(&ces));
3055 Call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT); 3055 Call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT);
3056 } 3056 }
3057 3057
3058 3058
3059 void MacroAssembler::PushStackHandler() { 3059 void MacroAssembler::PushStackHandler() {
3060 DCHECK(jssp.Is(StackPointer())); 3060 DCHECK(jssp.Is(StackPointer()));
3061 // Adjust this code if the asserts don't hold. 3061 // Adjust this code if the asserts don't hold.
3062 STATIC_ASSERT(StackHandlerConstants::kSize == 1 * kPointerSize); 3062 STATIC_ASSERT(StackHandlerConstants::kSize == 1 * kPointerSize);
(...skipping 2093 matching lines...) Expand 10 before | Expand all | Expand 10 after
5156 } 5156 }
5157 5157
5158 5158
5159 #undef __ 5159 #undef __
5160 5160
5161 5161
5162 } // namespace internal 5162 } // namespace internal
5163 } // namespace v8 5163 } // namespace v8
5164 5164
5165 #endif // V8_TARGET_ARCH_ARM64 5165 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/debug-arm64.cc ('k') | src/assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698