diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-01 20:05:57 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-02 08:01:00 (GMT) |
commit | 0b5a81dd9aa153f6cd3a3929ee7ed82ca48f45a5 (patch) | |
tree | 872442f35c338ec989bcf60f8691d9c0cda2f420 /src/script/api/qscriptstring.cpp | |
parent | 7578f43d0f1358b2ed52b3a5d2b853f26e63aec0 (diff) | |
download | Qt-0b5a81dd9aa153f6cd3a3929ee7ed82ca48f45a5.zip Qt-0b5a81dd9aa153f6cd3a3929ee7ed82ca48f45a5.tar.gz Qt-0b5a81dd9aa153f6cd3a3929ee7ed82ca48f45a5.tar.bz2 |
Optimize QScriptClass
Do not convert JSC::Identifier to QString to convert it later to
JSC::Identivier again
Reviewed-by: Kent Hansen
Diffstat (limited to 'src/script/api/qscriptstring.cpp')
-rw-r--r-- | src/script/api/qscriptstring.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/script/api/qscriptstring.cpp b/src/script/api/qscriptstring.cpp index 58a7c2b..6de1d88 100644 --- a/src/script/api/qscriptstring.cpp +++ b/src/script/api/qscriptstring.cpp @@ -86,16 +86,6 @@ QScriptStringPrivate::~QScriptStringPrivate() } /*! - \internal -*/ -void QScriptStringPrivate::init(QScriptString &q, QScriptEngine *engine, - const JSC::Identifier &value) -{ - Q_ASSERT(!q.isValid()); - q.d_ptr = new QScriptStringPrivate(engine, value); -} - -/*! Constructs an invalid QScriptString. */ QScriptString::QScriptString() |