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

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

Issue 1071713003: - Remove JSCRE from the runtime. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 8 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 | Annotate | Revision Log
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 1856 matching lines...) Expand 10 before | Expand all | Expand 10 after
1867 StringEquality(assembler, kOneByteStringCid); 1867 StringEquality(assembler, kOneByteStringCid);
1868 } 1868 }
1869 1869
1870 1870
1871 void Intrinsifier::TwoByteString_equality(Assembler* assembler) { 1871 void Intrinsifier::TwoByteString_equality(Assembler* assembler) {
1872 StringEquality(assembler, kTwoByteStringCid); 1872 StringEquality(assembler, kTwoByteStringCid);
1873 } 1873 }
1874 1874
1875 1875
1876 void Intrinsifier::JSRegExp_ExecuteMatch(Assembler* assembler) { 1876 void Intrinsifier::JSRegExp_ExecuteMatch(Assembler* assembler) {
1877 if (FLAG_use_jscre) {
1878 return;
1879 }
1880 static const intptr_t kRegExpParamOffset = 2 * kWordSize; 1877 static const intptr_t kRegExpParamOffset = 2 * kWordSize;
1881 static const intptr_t kStringParamOffset = 1 * kWordSize; 1878 static const intptr_t kStringParamOffset = 1 * kWordSize;
1882 // start_index smi is located at offset 0. 1879 // start_index smi is located at offset 0.
1883 1880
1884 // Incoming registers: 1881 // Incoming registers:
1885 // R0: Function. (Will be reloaded with the specialized matcher function.) 1882 // R0: Function. (Will be reloaded with the specialized matcher function.)
1886 // R4: Arguments descriptor. (Will be preserved.) 1883 // R4: Arguments descriptor. (Will be preserved.)
1887 // R5: Unknown. (Must be GC safe on tail call.) 1884 // R5: Unknown. (Must be GC safe on tail call.)
1888 1885
1889 // Load the specialized function pointer into R0. Leverage the fact the 1886 // Load the specialized function pointer into R0. Leverage the fact the
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
1942 Isolate* isolate = Isolate::Current(); 1939 Isolate* isolate = Isolate::Current();
1943 __ LoadImmediate(R1, reinterpret_cast<uword>(isolate)); 1940 __ LoadImmediate(R1, reinterpret_cast<uword>(isolate));
1944 // Set return value to Isolate::current_tag_. 1941 // Set return value to Isolate::current_tag_.
1945 __ ldr(R0, Address(R1, Isolate::current_tag_offset())); 1942 __ ldr(R0, Address(R1, Isolate::current_tag_offset()));
1946 __ Ret(); 1943 __ Ret();
1947 } 1944 }
1948 1945
1949 } // namespace dart 1946 } // namespace dart
1950 1947
1951 #endif // defined TARGET_ARCH_ARM 1948 #endif // defined TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698