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

Unified Diff: vm/ast.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/regexp.cc ('k') | vm/code_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/ast.cc
===================================================================
--- vm/ast.cc (revision 16591)
+++ vm/ast.cc (working copy)
@@ -132,7 +132,7 @@
case Token::kGTE:
if ((left_val->IsNumber() || left_val->IsNull()) &&
(right_val->IsNumber() || right_val->IsNull())) {
- return &Bool::ZoneHandle(Bool::False());
+ return &Bool::False();
}
return NULL;
case Token::kEQ:
@@ -149,7 +149,7 @@
right_val->IsString() ||
right_val->IsBool() ||
right_val->IsNull())) {
- return &Bool::ZoneHandle(Bool::False());
+ return &Bool::False();
}
return NULL;
default:
« no previous file with comments | « lib/regexp.cc ('k') | vm/code_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698