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

Unified Diff: runtime/lib/regexp.cc

Issue 982873004: Thread/Isolate refactoring: new(Isolate) -> new(Zone) (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: runtime/lib/regexp.cc
===================================================================
--- runtime/lib/regexp.cc (revision 44266)
+++ runtime/lib/regexp.cc (working copy)
@@ -8,6 +8,7 @@
#include "vm/native_entry.h"
#include "vm/object.h"
#include "vm/regexp_parser.h"
+#include "vm/thread.h"
#include "lib/regexp_jsc.h"
@@ -39,7 +40,7 @@
}
// Create a JSRegExp object containing only the initial parameters.
- return RegExpEngine::CreateJSRegExp(isolate,
+ return RegExpEngine::CreateJSRegExp(zone,
pattern,
multi_line,
ignore_case);
@@ -102,7 +103,7 @@
ASSERT(!fn.IsNull());
// And finally call the generated code.
- return IRRegExpMacroAssembler::Execute(fn, str, start_index, isolate);
+ return IRRegExpMacroAssembler::Execute(fn, str, start_index, zone);
}
} // namespace dart
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/lib/string.cc » ('j') | runtime/vm/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698