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

Unified Diff: src/location.h

Issue 300003: Recognize in the fast-mode code generator when a subexpression is a... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 2 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: src/location.h
===================================================================
--- src/location.h (revision 3077)
+++ src/location.h (working copy)
@@ -41,6 +41,7 @@
bool is_temporary() { return type_ == TEMP; }
bool is_nowhere() { return type_ == NOWHERE; }
+ bool is_constant() { return type_ == CONSTANT; }
private:
enum Type { TEMP, NOWHERE, CONSTANT };

Powered by Google App Engine
This is Rietveld 408576698