Skip to content

Commit

Permalink
remove extra ctor/dtor function frame
Browse files Browse the repository at this point in the history
  • Loading branch information
gewang committed Nov 16, 2023
1 parent f3c1a27 commit 448394a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
23 changes: 0 additions & 23 deletions src/core/chuck_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5811,29 +5811,6 @@ Chuck_Value * type_engine_check_const( Chuck_Env * env, a_Exp exp )



//-----------------------------------------------------------------------------
// name: type_engine_lookup_ctor() | 1.5.1.9 (ge) added
// desc: look up constructor by type and argument list
//-----------------------------------------------------------------------------
Chuck_Func * type_engine_lookup_ctor( Chuck_Env * env, Chuck_Type * type, a_Exp args )
{
return NULL;
}



//-----------------------------------------------------------------------------
// name: type_engine_lookup_dtor() | 1.5.1.9 (ge) added
// desc: look up destructor by type
//-----------------------------------------------------------------------------
Chuck_Func * type_engine_lookup_dtor( Chuck_Env * env, Chuck_Type * type )
{
return NULL;
}




//-----------------------------------------------------------------------------
// name: type_engine_check_ctor_call() | 1.5.1.9 (ge) added
// desc: type check constructor invocation; also see func_call()
Expand Down
4 changes: 0 additions & 4 deletions src/core/chuck_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -1344,10 +1344,6 @@ t_CKBOOL type_engine_init_op_overload( Chuck_Env * env );
t_CKBOOL type_engine_scan_func_op_overload( Chuck_Env * env, a_Func_Def func_def );
// type-check an operator overload func def | 1.5.1.5 (ge) added
t_CKBOOL type_engine_check_func_op_overload( Chuck_Env * env, a_Func_Def func_def );
// constructors | 1.5.1.9 (ge) added
Chuck_Func * type_engine_lookup_ctor( Chuck_Env * env, Chuck_Type * type, a_Exp args );
// destructor | 1.5.1.9 (ge) added
Chuck_Func * type_engine_lookup_dtor( Chuck_Env * env, Chuck_Type * type );


//-----------------------------------------------------------------------------
Expand Down

0 comments on commit 448394a

Please sign in to comment.