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

Side by Side Diff: runtime/vm/intrinsifier_arm64.cc

Issue 1759913002: Make precompiler work with product mode. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64.
6 #if defined(TARGET_ARCH_ARM64) 6 #if defined(TARGET_ARCH_ARM64)
7 7
8 #include "vm/intrinsifier.h" 8 #include "vm/intrinsifier.h"
9 9
10 #include "vm/assembler.h" 10 #include "vm/assembler.h"
(...skipping 2119 matching lines...) Expand 10 before | Expand all | Expand 10 after
2130 StringEquality(assembler, kOneByteStringCid); 2130 StringEquality(assembler, kOneByteStringCid);
2131 } 2131 }
2132 2132
2133 2133
2134 void Intrinsifier::TwoByteString_equality(Assembler* assembler) { 2134 void Intrinsifier::TwoByteString_equality(Assembler* assembler) {
2135 StringEquality(assembler, kTwoByteStringCid); 2135 StringEquality(assembler, kTwoByteStringCid);
2136 } 2136 }
2137 2137
2138 2138
2139 void Intrinsifier::JSRegExp_ExecuteMatch(Assembler* assembler) { 2139 void Intrinsifier::JSRegExp_ExecuteMatch(Assembler* assembler) {
2140 if (FLAG_interpret_irregexp) return; 2140 if (FLAG_precompiled_mode) return;
2141 2141
2142 static const intptr_t kRegExpParamOffset = 2 * kWordSize; 2142 static const intptr_t kRegExpParamOffset = 2 * kWordSize;
2143 static const intptr_t kStringParamOffset = 1 * kWordSize; 2143 static const intptr_t kStringParamOffset = 1 * kWordSize;
2144 // start_index smi is located at offset 0. 2144 // start_index smi is located at offset 0.
2145 2145
2146 // Incoming registers: 2146 // Incoming registers:
2147 // R0: Function. (Will be reloaded with the specialized matcher function.) 2147 // R0: Function. (Will be reloaded with the specialized matcher function.)
2148 // R4: Arguments descriptor. (Will be preserved.) 2148 // R4: Arguments descriptor. (Will be preserved.)
2149 // R5: Unknown. (Must be GC safe on tail call.) 2149 // R5: Unknown. (Must be GC safe on tail call.)
2150 2150
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
2195 2195
2196 void Intrinsifier::Profiler_getCurrentTag(Assembler* assembler) { 2196 void Intrinsifier::Profiler_getCurrentTag(Assembler* assembler) {
2197 __ LoadIsolate(R0); 2197 __ LoadIsolate(R0);
2198 __ ldr(R0, Address(R0, Isolate::current_tag_offset())); 2198 __ ldr(R0, Address(R0, Isolate::current_tag_offset()));
2199 __ ret(); 2199 __ ret();
2200 } 2200 }
2201 2201
2202 } // namespace dart 2202 } // namespace dart
2203 2203
2204 #endif // defined TARGET_ARCH_ARM64 2204 #endif // defined TARGET_ARCH_ARM64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698