diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-21 20:21:03 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-21 20:21:03 (GMT) |
| commit | 644c1307124dffd13268445d0aebaed13a090c78 (patch) | |
| tree | e0d1ba738b7adbb484ba6d1fb3ae094e0c94b610 /src/pim/Generator.cpp | |
| parent | 939a04d3c77bf9aa8d54e912f5e12817de51756c (diff) | |
| download | powder-644c1307124dffd13268445d0aebaed13a090c78.zip powder-644c1307124dffd13268445d0aebaed13a090c78.tar.gz | |
Set properties with integer.property
Diffstat (limited to 'src/pim/Generator.cpp')
| -rw-r--r-- | src/pim/Generator.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pim/Generator.cpp b/src/pim/Generator.cpp index b2ea84c..8228c1c 100644 --- a/src/pim/Generator.cpp +++ b/src/pim/Generator.cpp @@ -257,6 +257,17 @@ namespace pim writeOpcode(Opcode::Kill); } + void Generator::LoadProperty(std::string property) + { + writeOpcode(Opcode::LoadProperty); + writeConstant(0); + } + + void Generator::StoreProperty(std::string property) + { + writeOpcode(Opcode::StoreProperty); + writeConstant(0); + } void Generator::IntegerToDecimal() { |
