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

Unified Diff: runtime/vm/parser.h

Issue 539153002: Port and integrate the irregexp engine from V8 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/parser.h
diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h
index d249655e9947fd59f05c10031ed9d09a4c967015..4ccb61568dbd9c967f7af0ac790bf7d9df02c34a 100644
--- a/runtime/vm/parser.h
+++ b/runtime/vm/parser.h
@@ -142,6 +142,10 @@ class ParsedFunction : public ZoneAllocated {
void AllocateVariables();
+ // TODO(jgruber): Refactor this, mostly copied from AllocateVariables.
+ // Sets variables required for reserving enough space for local variables.
+ void AllocateIrregexpVariables(intptr_t num_stack_locals);
Florian Schneider 2014/09/16 11:11:48 Why does AllocateVariables not work?
jgruber1 2014/09/22 18:58:04 AllocateVariables calculates the number of locals,
+
void set_await_temps_scope(LocalScope* scope) {
ASSERT(await_temps_scope_ == NULL);
await_temps_scope_ = scope;

Powered by Google App Engine
This is Rietveld 408576698