aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4isel_moth.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-08-19 11:57:03 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-19 12:35:13 +0200
commit73e42900403186df3ba64b57df4edbeac56e41a8 (patch)
tree6181ffd99a12af82f89b2a2f01b7cef09a4361f7 /src/qml/compiler/qv4isel_moth.cpp
parent606e06a4ac118f73cb198f99fb3f3feff7f2c15c (diff)
Prospective MSVC build fix
It seems LoadString is somehow expanded as a macro, so call the instruction LoadRuntimeString, which is closer to the meaning. Change-Id: I16836b495d29db8cb1af5874762c8e66acb9c529 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4isel_moth.cpp')
-rw-r--r--src/qml/compiler/qv4isel_moth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4isel_moth.cpp b/src/qml/compiler/qv4isel_moth.cpp
index 9489bbaf22..4c298d8d72 100644
--- a/src/qml/compiler/qv4isel_moth.cpp
+++ b/src/qml/compiler/qv4isel_moth.cpp
@@ -392,7 +392,7 @@ void InstructionSelection::loadConst(V4IR::Const *sourceConst, V4IR::Temp *targe
void InstructionSelection::loadString(const QString &str, V4IR::Temp *targetTemp)
{
- Instruction::LoadString load;
+ Instruction::LoadRuntimeString load;
load.stringId = registerString(str);
load.result = getResultParam(targetTemp);
addInstruction(load);