Index: src/location.h |
=================================================================== |
--- src/location.h (revision 3133) |
+++ src/location.h (working copy) |
@@ -37,14 +37,12 @@ |
public: |
static Location Temporary() { return Location(TEMP); } |
static Location Nowhere() { return Location(NOWHERE); } |
- static Location Constant() { return Location(CONSTANT); } |
bool is_temporary() { return type_ == TEMP; } |
bool is_nowhere() { return type_ == NOWHERE; } |
- bool is_constant() { return type_ == CONSTANT; } |
private: |
- enum Type { TEMP, NOWHERE, CONSTANT }; |
+ enum Type { TEMP, NOWHERE }; |
explicit Location(Type type) : type_(type) {} |