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

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

Issue 2951053003: VM(RegExp): Allow OSR optimization of RegExp :matcher functions. (Closed)
Patch Set: Fix bugs with stack growing and block pruning Created 3 years, 6 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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_DBC. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_DBC.
6 #if defined(TARGET_ARCH_DBC) 6 #if defined(TARGET_ARCH_DBC)
7 7
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 9
10 #include "vm/cpu.h" 10 #include "vm/cpu.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 // List of instructions that are not used by DBC. 48 // List of instructions that are not used by DBC.
49 // Things we aren't planning to implement for DBC: 49 // Things we aren't planning to implement for DBC:
50 // - Unboxed SIMD, 50 // - Unboxed SIMD,
51 // - Unboxed Mint, 51 // - Unboxed Mint,
52 // - Optimized RegExps, 52 // - Optimized RegExps,
53 // - Precompilation. 53 // - Precompilation.
54 #define FOR_EACH_UNREACHABLE_INSTRUCTION(M) \ 54 #define FOR_EACH_UNREACHABLE_INSTRUCTION(M) \
55 M(CaseInsensitiveCompareUC16) \ 55 M(CaseInsensitiveCompareUC16) \
56 M(GenericCheckBound) \ 56 M(GenericCheckBound) \
57 M(GrowRegExpStack) \
58 M(IndirectGoto) \ 57 M(IndirectGoto) \
59 M(MintToDouble) \ 58 M(MintToDouble) \
60 M(BinaryMintOp) \ 59 M(BinaryMintOp) \
61 M(ShiftMintOp) \ 60 M(ShiftMintOp) \
62 M(UnaryMintOp) \ 61 M(UnaryMintOp) \
63 M(BinaryFloat32x4Op) \ 62 M(BinaryFloat32x4Op) \
64 M(Simd32x4Shuffle) \ 63 M(Simd32x4Shuffle) \
65 M(Simd32x4ShuffleMix) \ 64 M(Simd32x4ShuffleMix) \
66 M(Simd32x4GetSignMask) \ 65 M(Simd32x4GetSignMask) \
67 M(Float32x4Constructor) \ 66 M(Float32x4Constructor) \
(...skipping 1996 matching lines...) Expand 10 before | Expand all | Expand 10 after
2064 } 2063 }
2065 __ IfULe(length, index); 2064 __ IfULe(length, index);
2066 compiler->EmitDeopt(deopt_id(), ICData::kDeoptCheckArrayBound, 2065 compiler->EmitDeopt(deopt_id(), ICData::kDeoptCheckArrayBound,
2067 (generalized_ ? ICData::kGeneralized : 0) | 2066 (generalized_ ? ICData::kGeneralized : 0) |
2068 (licm_hoisted_ ? ICData::kHoisted : 0)); 2067 (licm_hoisted_ ? ICData::kHoisted : 0));
2069 } 2068 }
2070 2069
2071 } // namespace dart 2070 } // namespace dart
2072 2071
2073 #endif // defined TARGET_ARCH_DBC 2072 #endif // defined TARGET_ARCH_DBC
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698