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

Side by Side Diff: runtime/vm/regexp_assembler_ir.h

Issue 1815333002: Simpler regex names: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync 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
« no previous file with comments | « runtime/vm/regexp_assembler_bytecode.cc ('k') | runtime/vm/regexp_assembler_ir.cc » ('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 (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 #ifndef VM_REGEXP_ASSEMBLER_IR_H_ 5 #ifndef VM_REGEXP_ASSEMBLER_IR_H_
6 #define VM_REGEXP_ASSEMBLER_IR_H_ 6 #define VM_REGEXP_ASSEMBLER_IR_H_
7 7
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/intermediate_language.h" 9 #include "vm/intermediate_language.h"
10 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 19 matching lines...) Expand all
30 30
31 IRRegExpMacroAssembler(intptr_t specialization_cid, 31 IRRegExpMacroAssembler(intptr_t specialization_cid,
32 intptr_t capture_count, 32 intptr_t capture_count,
33 const ParsedFunction* parsed_function, 33 const ParsedFunction* parsed_function,
34 const ZoneGrowableArray<const ICData*>& ic_data_array, 34 const ZoneGrowableArray<const ICData*>& ic_data_array,
35 Zone* zone); 35 Zone* zone);
36 virtual ~IRRegExpMacroAssembler(); 36 virtual ~IRRegExpMacroAssembler();
37 37
38 virtual bool CanReadUnaligned(); 38 virtual bool CanReadUnaligned();
39 39
40 static RawArray* Execute(const JSRegExp& regexp, 40 static RawArray* Execute(const RegExp& regexp,
41 const String& input, 41 const String& input,
42 const Smi& start_offset, 42 const Smi& start_offset,
43 Zone* zone); 43 Zone* zone);
44 44
45 virtual bool IsClosed() const { return (current_instruction_ == NULL); } 45 virtual bool IsClosed() const { return (current_instruction_ == NULL); }
46 46
47 virtual intptr_t stack_limit_slack(); 47 virtual intptr_t stack_limit_slack();
48 virtual void AdvanceCurrentPosition(intptr_t by); 48 virtual void AdvanceCurrentPosition(intptr_t by);
49 virtual void AdvanceRegister(intptr_t reg, intptr_t by); 49 virtual void AdvanceRegister(intptr_t reg, intptr_t by);
50 virtual void Backtrack(); 50 virtual void Backtrack();
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 IdAllocator temp_id_; 426 IdAllocator temp_id_;
427 IdAllocator arg_id_; 427 IdAllocator arg_id_;
428 IdAllocator local_id_; 428 IdAllocator local_id_;
429 IdAllocator indirect_id_; 429 IdAllocator indirect_id_;
430 }; 430 };
431 431
432 432
433 } // namespace dart 433 } // namespace dart
434 434
435 #endif // VM_REGEXP_ASSEMBLER_IR_H_ 435 #endif // VM_REGEXP_ASSEMBLER_IR_H_
OLDNEW
« no previous file with comments | « runtime/vm/regexp_assembler_bytecode.cc ('k') | runtime/vm/regexp_assembler_ir.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698