Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 59eed300ffd7df27cc784ea82ddc142f61451364..a811a29ad013605098cd6e14d67e6eada02b2cbe 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -3112,6 +3112,11 @@ void V8::ResumeProfiler() { |
#endif |
} |
+int V8::GetLogLines(int from_pos, char* dest_buf, int max_size) { |
+#ifdef ENABLE_LOGGING_AND_PROFILING |
+ return i::Logger::GetLogLines(from_pos, dest_buf, max_size); |
+#endif |
+} |
String::Utf8Value::Utf8Value(v8::Handle<v8::Value> obj) { |
EnsureInitialized("v8::String::Utf8Value::Utf8Value()"); |