Changeset 497 for abuse/trunk/src/objects.cpp
- Timestamp:
- Apr 17, 2011, 11:56:59 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/objects.cpp
r494 r497 266 266 267 267 void *m=mark_heap(TMP_SPACE); 268 eval_function((LSymbol *)ns,NULL);268 ((LSymbol *)ns)->EvalFunction(NULL); 269 269 restore_heap(m,TMP_SPACE); 270 270 … … 280 280 current_object = this; 281 281 void *m = mark_heap( TMP_SPACE ); 282 ( void)eval_function( (LSymbol *)ns, NULL);282 ((LSymbol *)ns)->EvalFunction(NULL); 283 283 restore_heap( m, TMP_SPACE ); 284 284 } … … 420 420 prof1=new time_marker; 421 421 422 Cell *ret=(Cell *)eval_function((LSymbol *)figures[otype]->get_fun(OFUN_AI),NULL);422 LObject *ret = ((LSymbol *)figures[otype]->get_fun(OFUN_AI))->EvalFunction(NULL); 423 423 if (profiling()) 424 424 { … … 636 636 prof1=new time_marker; 637 637 638 eval_function((LSymbol *)figures[otype]->get_fun(OFUN_DRAW),NULL);638 ((LSymbol *)figures[otype]->get_fun(OFUN_DRAW))->EvalFunction(NULL); 639 639 if (profiling()) 640 640 { … … 663 663 prof1=new time_marker; 664 664 665 eval_function((LSymbol *)figures[otype]->get_fun(OFUN_MAP_DRAW),NULL);665 ((LSymbol *)figures[otype]->get_fun(OFUN_MAP_DRAW))->EvalFunction(NULL); 666 666 if (profiling()) 667 667 { … … 1170 1170 prof1=new time_marker; 1171 1171 1172 eval_function((LSymbol *)figures[type]->get_fun(OFUN_CONSTRUCTOR),NULL);1172 ((LSymbol *)figures[type]->get_fun(OFUN_CONSTRUCTOR))->EvalFunction(NULL); 1173 1173 if (profiling()) 1174 1174 { … … 1235 1235 prof1=new time_marker; 1236 1236 1237 void *r=eval_function((LSymbol *)figures[otype]->get_fun(OFUN_MOVER), 1238 (void *)lcx); 1237 LObject *r = ((LSymbol *)figures[otype]->get_fun(OFUN_MOVER))->EvalFunction(lcx); 1239 1238 if (profiling()) 1240 1239 { … … 1638 1637 prof1=new time_marker; 1639 1638 1640 eval_function((LSymbol *)figures[new_type]->get_fun(OFUN_CONSTRUCTOR),NULL);1639 ((LSymbol *)figures[new_type]->get_fun(OFUN_CONSTRUCTOR))->EvalFunction(NULL); 1641 1640 if (profiling()) 1642 1641 {
Note: See TracChangeset
for help on using the changeset viewer.