summaryrefslogtreecommitdiff
path: root/deps/v8/src/string-stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/string-stream.h')
-rw-r--r--deps/v8/src/string-stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/v8/src/string-stream.h b/deps/v8/src/string-stream.h
index 323a6d663..b74c79395 100644
--- a/deps/v8/src/string-stream.h
+++ b/deps/v8/src/string-stream.h
@@ -142,6 +142,7 @@ class StringStream {
void Log();
Handle<String> ToString();
SmartPointer<const char> ToCString() const;
+ int length() const { return length_; }
// Object printing support.
void PrintName(Object* o);