Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 2 files). Show all
Unified · Split
| @@ -97,11 +97,15 @@ ScriptEngine::ScriptEngine(const QString& scriptContents, const QString& fileNam · 96 unmodified lines | ||
| 97 | 97 | _arrayBufferClass(NULL) |
| 98 | 98 | { |
| 99 | 99 | _arrayBufferClass = new ArrayBufferClass(this); |
| 100 | − qDebug() << "Engine: " << this; | |
| 101 | − qDebug() << "ArrayBuffer: " <<_arrayBufferClass; | |
| 102 | − qDebug() << "DataView: " << new DataViewClass(this); | |
| 103 | − qDebug() << "Int8Array: " << new Int8ArrayClass(this); | |
| 104 | − qDebug() << "Initial thread: " << QThread::currentThread() << " " << thread(); | |
| 100 | + new DataViewClass(this); | |
| 101 | + new Int8ArrayClass(this); | |
| 102 | + new Uint8ArrayClass(this); | |
| 103 | + new Int16ArrayClass(this); | |
| 104 | + new Uint16ArrayClass(this); | |
| 105 | + new Int32ArrayClass(this); | |
| 106 | + new Uint32ArrayClass(this); | |
| 107 | + new Float32ArrayClass(this); | |
| 108 | + new Float64ArrayClass(this); | |
| 105 | 109 | } |
| 106 | 110 | |
| 107 | 111 | ScriptEngine::ScriptEngine(const QUrl& scriptURL, |
| @@ -134,11 +138,15 @@ ScriptEngine::ScriptEngine(const QUrl& scriptURL, · 26 unmodified lines | ||
| 134 | 138 | QUrl url(scriptURL); |
| 135 | 139 | |
| 136 | 140 | _arrayBufferClass = new ArrayBufferClass(this); |
| 137 | − qDebug() << "Engine: " << this; | |
| 138 | − qDebug() << "ArrayBuffer: " <<_arrayBufferClass; | |
| 139 | − qDebug() << "DataView: " << new DataViewClass(this); | |
| 140 | − qDebug() << "Int8Array: " << new Int8ArrayClass(this); | |
| 141 | − qDebug() << "Initial thread: " << QThread::currentThread() << " " << thread(); | |
| 141 | + new DataViewClass(this); | |
| 142 | + new Int8ArrayClass(this); | |
| 143 | + new Uint8ArrayClass(this); | |
| 144 | + new Int16ArrayClass(this); | |
| 145 | + new Uint16ArrayClass(this); | |
| 146 | + new Int32ArrayClass(this); | |
| 147 | + new Uint32ArrayClass(this); | |
| 148 | + new Float32ArrayClass(this); | |
| 149 | + new Float64ArrayClass(this); | |
| 142 | 150 | |
| 143 | 151 | // if the scheme length is one or lower, maybe they typed in a file, let's try |
| 144 | 152 | const int WINDOWS_DRIVE_LETTER_SIZE = 1; |