comparison backendutils_c.rhope @ 139:a68e6828d896

Global stores and transactions are working. Definately leaks memory on retries. Probably a fair number of bugs to work out. However, a basic test program works.
author Mike Pavone <pavone@retrodev.com>
date Fri, 19 Nov 2010 04:04:14 -0500
parents fc3815b7462f
children fd06fb07762a
comparison
equal deleted inserted replaced
138:1411de6050e1 139:a68e6828d896
160 } 160 }
161 161
162 Strip Addref@Result[op:out] 162 Strip Addref@Result[op:out]
163 { 163 {
164 out <- op 164 out <- op
165 }
166
167 Blueprint Global Get
168 {
169 Store
170 Var
171 }
172
173 Global Get[store,var:out]
174 {
175 out <- [[Build[Global Get()]]Store <<[store]]Var <<[var]
176 }
177
178 Make Op@Global Get[get,func:out]
179 {
180 out <- [func]Global Reference[[get]Store >>, [get]Var >>]
181 }
182
183 Strip Addref@Global Get[get:out]
184 {
185 out <- get
165 } 186 }
166 187
167 Blueprint Check Result 188 Blueprint Check Result
168 { 189 {
169 Output Num 190 Output Num