--- parser3/src/main/execute.C 2003/10/02 07:26:46 1.299 +++ parser3/src/main/execute.C 2003/11/20 15:35:31 1.301 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_EXECUTE_C="$Date: 2003/10/02 07:26:46 $"; +static const char* IDENT_EXECUTE_C="$Date: 2003/11/20 15:35:31 $"; #include "pa_opcode.h" #include "pa_array.h" @@ -105,7 +105,7 @@ void debug_dump(SAPI_Info& sapi_info, in void Request::execute(ArrayOperation& ops) { register Stack& stack=this->stack; // helps a lot on MSVC: 'esi' - const String* debug_name=0; Operation::Origin debug_origin; //bool is_debug_junction=false; + const String* debug_name=0; Operation::Origin debug_origin={0}; try{ #ifdef DEBUG_EXECUTE debug_printf(sapi_info, "source----------------------------\n"); @@ -431,7 +431,7 @@ void Request::execute(ArrayOperation& op if(frame.junction.method->call_type!=Method::CT_STATIC) { // this is a constructor call - if(Value* value=called_class.create_new_value()) { + if(Value* value=called_class.create_new_value(fpool)) { // some stateless_class creatable derivates new_self=value; } else @@ -814,9 +814,8 @@ void Request::execute(ArrayOperation& op } } catch(...) { // record it to stack trace - //if(is_debug_junction) - if(debug_name) - exception_trace.push(Trace(debug_name, debug_origin)); + if(debug_name) + exception_trace.push(Trace(debug_name, debug_origin)); rethrow; } }