Index: src/utils.h |
diff --git a/src/utils.h b/src/utils.h |
index e03f96f6e5d3a7bb2b1c527810a180333c4a26b8..b3d60b0cbe71423e6d818380f8ad89ca82f00fd7 100644 |
--- a/src/utils.h |
+++ b/src/utils.h |
@@ -522,6 +522,8 @@ class ScopedVector : public Vector<T> { |
DISALLOW_IMPLICIT_CONSTRUCTORS(ScopedVector); |
}; |
+#define STATIC_ASCII_VECTOR(x) \ |
+ v8::internal::Vector<const char>(x, ARRAY_SIZE(x)-1) |
inline Vector<const char> CStrVector(const char* data) { |
return Vector<const char>(data, StrLength(data)); |