Diff for /parser3/src/main/execute.C between versions 1.348 and 1.349

version 1.348, 2009/06/13 07:05:57 version 1.349, 2009/06/14 00:34:04
Line 834  void Request::execute(ArrayOperation& op Line 834  void Request::execute(ArrayOperation& op
                                 } else                                   } else 
 #endif // OPTIMIZE_CALL  #endif // OPTIMIZE_CALL
                                 {                                  {
                                         if(wcontext->get_constructing())  
                                                 throw Exception(PARSER_RUNTIME, 0, "non-optimized constructing");  
   
                                         VMethodFrame frame(*junction, method_frame);                                          VMethodFrame frame(*junction, method_frame);
                                         if(local_ops){ // store param code goes here                                          if(local_ops){ // store param code goes here
                                                 size_t first = stack.top_index();                                                  size_t first = stack.top_index();
Line 1288  void Request::op_call(VMethodFrame& fram Line 1285  void Request::op_call(VMethodFrame& fram
                 wcontext->set_constructing(false);                  wcontext->set_constructing(false);
                 if(junction.method->call_type!=Method::CT_STATIC) {                  if(junction.method->call_type!=Method::CT_STATIC) {
                         // this is a constructor call                          // this is a constructor call
                         HashStringValue& new_object_fields=*new HashStringValue();                          if(new_self=called_class.create_new_value(fpool, 0 /*creating fields only in VClass*/)) {
                         if(new_self=called_class.create_new_value(fpool, new_object_fields)) {  
                                 // some stateless_class creatable derivates                                  // some stateless_class creatable derivates
                         } else                           } else 
                                 throw Exception(PARSER_RUNTIME,                                  throw Exception(PARSER_RUNTIME,

Removed from v.1.348  
changed lines
  Added in v.1.349


E-mail: