Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfjouault2009-07-24 14:06:19 +0000
committerfjouault2009-07-24 14:06:19 +0000
commit65676ad2c844b3cb8ba394d54ee0fb16a9ce4a34 (patch)
tree37d8deb20edfcd1629a8a67118c9e3f49c0662d7 /dsls/ACG/Compiler/ACG.acg
parent0b7c9819f1cc6ac63d52a5872237094da962bff4 (diff)
downloadorg.eclipse.atl-65676ad2c844b3cb8ba394d54ee0fb16a9ce4a34.tar.gz
org.eclipse.atl-65676ad2c844b3cb8ba394d54ee0fb16a9ce4a34.tar.xz
org.eclipse.atl-65676ad2c844b3cb8ba394d54ee0fb16a9ce4a34.zip
added support for the pcall bytecode
Diffstat (limited to 'dsls/ACG/Compiler/ACG.acg')
-rw-r--r--dsls/ACG/Compiler/ACG.acg8
1 files changed, 8 insertions, 0 deletions
diff --git a/dsls/ACG/Compiler/ACG.acg b/dsls/ACG/Compiler/ACG.acg
index eb94d464..7ecca917 100644
--- a/dsls/ACG/Compiler/ACG.acg
+++ b/dsls/ACG/Compiler/ACG.acg
@@ -511,6 +511,14 @@ acg ACG startsWith ACG {
call 'J.emit(SS):V'
}
+ code PCallStat {
+ getasm
+ get 'asmEmitter'
+ push 'pcall'
+ analyze self.operand
+ call 'J.emit(SS):V'
+ }
+
code SuperCallStat {
getasm
get 'asmEmitter'

Back to the top