Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index c476692d7638d288590bed935622d19e90828eb9..723cbf890c0b48dec0044880485f5af2f8d3445f 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4233,6 +4233,7 @@ class Code: public HeapObject { |
V(FUNCTION) \ |
V(OPTIMIZED_FUNCTION) \ |
V(STUB) \ |
+ V(COMPILED_STUB) \ |
V(BUILTIN) \ |
V(LOAD_IC) \ |
V(KEYED_LOAD_IC) \ |
@@ -4849,6 +4850,10 @@ class Map: public HeapObject { |
return IsFastDoubleElementsKind(elements_kind()); |
} |
+ inline bool has_fast_elements() { |
+ return IsFastElementsKind(elements_kind()); |
+ } |
+ |
inline bool has_non_strict_arguments_elements() { |
return elements_kind() == NON_STRICT_ARGUMENTS_ELEMENTS; |
} |