diff options
Diffstat (limited to 'src/v4/moth/qv4isel_moth.cpp')
-rw-r--r-- | src/v4/moth/qv4isel_moth.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/v4/moth/qv4isel_moth.cpp b/src/v4/moth/qv4isel_moth.cpp index 31bf1fb36d..00ae4e1029 100644 --- a/src/v4/moth/qv4isel_moth.cpp +++ b/src/v4/moth/qv4isel_moth.cpp @@ -245,10 +245,10 @@ void InstructionSelection::loadRegexp(V4IR::RegExp *sourceRegexp, V4IR::Temp *ta addInstruction(load); } -void InstructionSelection::getActivationProperty(const QString &name, V4IR::Temp *temp) +void InstructionSelection::getActivationProperty(const V4IR::Name *name, V4IR::Temp *temp) { Instruction::LoadName load; - load.name = identifier(name); + load.name = identifier(*name->id); load.result = getResultParam(temp); addInstruction(load); } |