diff options
Diffstat (limited to 'src/qml/compiler/qv4instr_moth_p.h')
-rw-r--r-- | src/qml/compiler/qv4instr_moth_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4instr_moth_p.h b/src/qml/compiler/qv4instr_moth_p.h index 100b6f65a6..f8ccfff92f 100644 --- a/src/qml/compiler/qv4instr_moth_p.h +++ b/src/qml/compiler/qv4instr_moth_p.h @@ -130,7 +130,7 @@ struct Param { TempType = 3, ScopedLocalType = 4 }; - QV4::Value value; + QV4::Primitive value; unsigned type : 3; unsigned scope : 29; unsigned index; @@ -141,7 +141,7 @@ struct Param { bool isTemp() const { return type == TempType; } bool isScopedLocal() const { return type == ScopedLocalType; } - static Param createValue(const QV4::Value &v) + static Param createValue(const QV4::Primitive &v) { Param p; p.type = ValueType; |