Index: src/property-details.h |
diff --git a/src/property-details.h b/src/property-details.h |
index 659fbd1da6e2b5829cb0d3d5a0e4d305c106ba9b..7f44b79277c5188596e55b37c66eee4f02ed3199 100644 |
--- a/src/property-details.h |
+++ b/src/property-details.h |
@@ -82,7 +82,6 @@ class Representation { |
public: |
enum Kind { |
kNone, |
- kByte, |
kSmi, |
kInteger32, |
kDouble, |
@@ -96,7 +95,6 @@ class Representation { |
static Representation None() { return Representation(kNone); } |
static Representation Tagged() { return Representation(kTagged); } |
- static Representation Byte() { return Representation(kByte); } |
static Representation Smi() { return Representation(kSmi); } |
static Representation Integer32() { return Representation(kInteger32); } |
static Representation Double() { return Representation(kDouble); } |
@@ -141,7 +139,6 @@ class Representation { |
Kind kind() const { return static_cast<Kind>(kind_); } |
bool IsNone() const { return kind_ == kNone; } |
- bool IsByte() const { return kind_ == kByte; } |
bool IsTagged() const { return kind_ == kTagged; } |
bool IsSmi() const { return kind_ == kSmi; } |
bool IsSmiOrTagged() const { return IsSmi() || IsTagged(); } |
@@ -151,7 +148,7 @@ class Representation { |
bool IsHeapObject() const { return kind_ == kHeapObject; } |
bool IsExternal() const { return kind_ == kExternal; } |
bool IsSpecialization() const { |
- return IsByte() || IsSmi() || IsInteger32() || IsDouble(); |
+ return kind_ == kInteger32 || kind_ == kDouble || kind_ == kSmi; |
} |
const char* Mnemonic() const; |