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

Unified Diff: lib/regexp.cc

Issue 11745022: - Make Boolean 'true' and 'false' singleton VM isolate objects. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 7 years, 12 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
« no previous file with comments | « lib/object.cc ('k') | vm/ast.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/regexp.cc
===================================================================
--- lib/regexp.cc (revision 16591)
+++ lib/regexp.cc (working copy)
@@ -20,8 +20,8 @@
Instance, handle_multi_line, arguments->NativeArgAt(2));
GET_NON_NULL_NATIVE_ARGUMENT(
Instance, handle_ignore_case, arguments->NativeArgAt(3));
- bool ignore_case = handle_ignore_case.raw() == Bool::True();
- bool multi_line = handle_multi_line.raw() == Bool::True();
+ bool ignore_case = handle_ignore_case.raw() == Bool::True().raw();
+ bool multi_line = handle_multi_line.raw() == Bool::True().raw();
return Jscre::Compile(pattern, multi_line, ignore_case);
}
« no previous file with comments | « lib/object.cc ('k') | vm/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698