@@ -391,7 +391,7 @@ static JSValueRef MyObject_convertToType(JSContextRef context, JSObjectRef objec
391391 return JSValueMakeNull (context );
392392}
393393
394- static JSValueRef LEGACY_NODELETE MyObject_convertToTypeWrapper (JSContextRef context , JSObjectRef object , JSType type , JSValueRef * exception )
394+ NODELETE static JSValueRef MyObject_convertToTypeWrapper (JSContextRef context , JSObjectRef object , JSType type , JSValueRef * exception )
395395{
396396 UNUSED_PARAM (context );
397397 UNUSED_PARAM (object );
@@ -401,7 +401,7 @@ static JSValueRef LEGACY_NODELETE MyObject_convertToTypeWrapper(JSContextRef con
401401 return 0 ;
402402}
403403
404- static bool LEGACY_NODELETE MyObject_set_nullGetForwardSet (JSContextRef ctx , JSObjectRef object , JSStringRef propertyName , JSValueRef value , JSValueRef * exception )
404+ NODELETE static bool MyObject_set_nullGetForwardSet (JSContextRef ctx , JSObjectRef object , JSStringRef propertyName , JSValueRef value , JSValueRef * exception )
405405{
406406 UNUSED_PARAM (ctx );
407407 UNUSED_PARAM (object );
@@ -762,7 +762,7 @@ static JSValueRef Base_callAsFunction(JSContextRef ctx, JSObjectRef function, JS
762762 return JSValueMakeNumber (ctx , 1 ); // distinguish base call from derived call
763763}
764764
765- static JSValueRef LEGACY_NODELETE Base_returnHardNull (JSContextRef ctx , JSObjectRef function , JSObjectRef thisObject , size_t argumentCount , const JSValueRef arguments [], JSValueRef * exception )
765+ NODELETE static JSValueRef Base_returnHardNull (JSContextRef ctx , JSObjectRef function , JSObjectRef thisObject , size_t argumentCount , const JSValueRef arguments [], JSValueRef * exception )
766766{
767767 UNUSED_PARAM (ctx );
768768 UNUSED_PARAM (function );
@@ -949,7 +949,7 @@ static JSObjectRef myConstructor_callAsConstructor(JSContextRef context, JSObjec
949949 return result ;
950950}
951951
952- static JSObjectRef LEGACY_NODELETE myBadConstructor_callAsConstructor (JSContextRef context , JSObjectRef constructorObject , size_t argumentCount , const JSValueRef arguments [], JSValueRef * exception )
952+ NODELETE static JSObjectRef myBadConstructor_callAsConstructor (JSContextRef context , JSObjectRef constructorObject , size_t argumentCount , const JSValueRef arguments [], JSValueRef * exception )
953953{
954954 UNUSED_PARAM (context );
955955 UNUSED_PARAM (constructorObject );
@@ -1179,7 +1179,7 @@ static bool globalContextNameTest(void)
11791179}
11801180
11811181IGNORE_GCC_WARNINGS_BEGIN ("unused-but-set-variable" )
1182- static void LEGACY_NODELETE checkConstnessInJSObjectNames (void )
1182+ NODELETE static void checkConstnessInJSObjectNames (void )
11831183{
11841184 JSStaticFunction fun ;
11851185 fun .name = "something" ;
0 commit comments