Index: src/ic.h |
diff --git a/src/ic.h b/src/ic.h |
index cb316407c0563c340e143bc621c69d75642916dc..12328d511fb3b0176c428c6fe9f130ea1faed31e 100644 |
--- a/src/ic.h |
+++ b/src/ic.h |
@@ -752,14 +752,20 @@ class BinaryOpIC: public IC { |
class CompareIC: public IC { |
public: |
+ // The type/state lattice is defined by the following inequations: |
+ // UNINITIALIZED < ... |
+ // ... < GENERIC |
+ // SMI < NUMBER |
+ // SYMBOL < STRING |
+ // KNOWN_OBJECT < OBJECT |
enum State { |
UNINITIALIZED, |
SMI, |
- HEAP_NUMBER, |
+ NUMBER, |
Jakob Kummerow
2013/02/15 09:12:53
I don't think this renaming is an improvement, for
rossberg
2013/02/19 11:32:13
Good point, I fixed it for Unary and Binary ops as
|
SYMBOL, |
STRING, |
- OBJECT, |
- KNOWN_OBJECTS, |
+ OBJECT, // JSObject |
+ KNOWN_OBJECT, // JSObject with specific map (faster check) |
GENERIC |
}; |