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

Side by Side Diff: runtime/vm/intrinsifier_arm.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_ARM. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
6 #if defined(TARGET_ARCH_ARM) 6 #if defined(TARGET_ARCH_ARM)
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 2044 matching lines...) Expand 10 before | Expand all | Expand 10 after
2055 StringEquality(assembler, kOneByteStringCid); 2055 StringEquality(assembler, kOneByteStringCid);
2056 } 2056 }
2057 2057
2058 2058
2059 void Intrinsifier::TwoByteString_equality(Assembler* assembler) { 2059 void Intrinsifier::TwoByteString_equality(Assembler* assembler) {
2060 StringEquality(assembler, kTwoByteStringCid); 2060 StringEquality(assembler, kTwoByteStringCid);
2061 } 2061 }
2062 2062
2063 2063
2064 void Intrinsifier::JSRegExp_ExecuteMatch(Assembler* assembler) { 2064 void Intrinsifier::JSRegExp_ExecuteMatch(Assembler* assembler) {
2065 if (FLAG_interpret_irregexp) return; 2065 if (FLAG_precompiled_mode) return;
rmacnak 2016/03/02 21:12:35 Why not interpret_irregexp? It should work in the
Florian Schneider 2016/03/02 21:48:11 Done.
2066 2066
2067 static const intptr_t kRegExpParamOffset = 2 * kWordSize; 2067 static const intptr_t kRegExpParamOffset = 2 * kWordSize;
2068 static const intptr_t kStringParamOffset = 1 * kWordSize; 2068 static const intptr_t kStringParamOffset = 1 * kWordSize;
2069 // start_index smi is located at offset 0. 2069 // start_index smi is located at offset 0.
2070 2070
2071 // Incoming registers: 2071 // Incoming registers:
2072 // R0: Function. (Will be reloaded with the specialized matcher function.) 2072 // R0: Function. (Will be reloaded with the specialized matcher function.)
2073 // R4: Arguments descriptor. (Will be preserved.) 2073 // R4: Arguments descriptor. (Will be preserved.)
2074 // R9: Unknown. (Must be GC safe on tail call.) 2074 // R9: Unknown. (Must be GC safe on tail call.)
2075 2075
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
2120 2120
2121 void Intrinsifier::Profiler_getCurrentTag(Assembler* assembler) { 2121 void Intrinsifier::Profiler_getCurrentTag(Assembler* assembler) {
2122 __ LoadIsolate(R0); 2122 __ LoadIsolate(R0);
2123 __ ldr(R0, Address(R0, Isolate::current_tag_offset())); 2123 __ ldr(R0, Address(R0, Isolate::current_tag_offset()));
2124 __ Ret(); 2124 __ Ret();
2125 } 2125 }
2126 2126
2127 } // namespace dart 2127 } // namespace dart
2128 2128
2129 #endif // defined TARGET_ARCH_ARM 2129 #endif // defined TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698