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

Unified Diff: src/code-stubs.h

Issue 7465066: Fix GC problem with ToBooleanStub (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 5 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 | « no previous file | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.h
===================================================================
--- src/code-stubs.h (revision 8745)
+++ src/code-stubs.h (working copy)
@@ -934,6 +934,8 @@
};
static Types no_types() { return Types(); }
+ static const byte kAllTypes = 0xff;
+ static Types all_types() { return Types(kAllTypes); }
Sven Panne 2011/07/27 14:46:33 Removing kAllTypes and directly using (1 << NUMB
Vitaly Repeshko 2011/07/27 14:49:38 I agree.
fschneider 2011/07/27 14:56:19 Done.
explicit ToBooleanStub(Register tos, Types types = Types())
: tos_(tos), types_(types) { }
« no previous file with comments | « no previous file | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698