summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/parser/SourceCode.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/parser/SourceCode.h')
-rw-r--r--Source/JavaScriptCore/parser/SourceCode.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/JavaScriptCore/parser/SourceCode.h b/Source/JavaScriptCore/parser/SourceCode.h
index 2a162b90f..a33ffea72 100644
--- a/Source/JavaScriptCore/parser/SourceCode.h
+++ b/Source/JavaScriptCore/parser/SourceCode.h
@@ -72,11 +72,6 @@ namespace JSC {
int firstLine() const { return m_firstLine; }
int startOffset() const { return m_startChar; }
int endOffset() const { return m_endChar; }
- const UChar* data() const
- {
- ASSERT(m_provider->data());
- return m_provider->data()->characters16() + m_startChar;
- }
int length() const { return m_endChar - m_startChar; }
SourceCode subExpression(unsigned openBrace, unsigned closeBrace, int firstLine);