aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4compileddata_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-08-15 10:36:41 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-08-15 13:56:07 +0200
commit4b0765da3e2842612ed5464bb750505f0d355b87 (patch)
treedc19ee6b99956619337280ce1db3c1c230cf74be /src/qml/compiler/qv4compileddata_p.h
parent2aee966baa76f55d9061ed22af7bb0abe4f3541e (diff)
Prepare MASM for better runtime string handling
Keep the run-time functions as-is by taking String pointers and use a little bit of inline assembly to resolve the string ids to string pointers, by adding a runtimeStrings array pointer next to the lookups in the context (similar mechanism). Change-Id: Ib5a70bdf47fef7c447d646ccfe03f3dc30d39f20 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4compileddata_p.h')
-rw-r--r--src/qml/compiler/qv4compileddata_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4compileddata_p.h b/src/qml/compiler/qv4compileddata_p.h
index c70fa6986f..c9d552036d 100644
--- a/src/qml/compiler/qv4compileddata_p.h
+++ b/src/qml/compiler/qv4compileddata_p.h
@@ -239,7 +239,7 @@ struct CompilationUnit
CompilationUnit()
: refCount(0)
, data(0)
- , runtimeIdentifiers(0)
+ , runtimeStrings(0)
{}
virtual ~CompilationUnit();
@@ -251,7 +251,7 @@ struct CompilationUnit
QString fileName() const { return data->stringAt(data->sourceFileIndex)->qString(); }
- QV4::String **runtimeIdentifiers; // Array
+ QV4::String **runtimeStrings; // Array
QV4::Function *linkToEngine(QV4::ExecutionEngine *engine);