Sfoglia il codice sorgente

LibJS: Remove forgotten VM::construct() declaration

This has been a standalone AO function for a long time now.
Linus Groh 2 anni fa
parent
commit
1832474a37
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 2
      Userland/Libraries/LibJS/Runtime/VM.h

+ 0 - 2
Userland/Libraries/LibJS/Runtime/VM.h

@@ -182,8 +182,6 @@ public:
         return throw_completion<T>(DeprecatedString::formatted(type.message(), forward<Args>(args)...));
         return throw_completion<T>(DeprecatedString::formatted(type.message(), forward<Args>(args)...));
     }
     }
 
 
-    Value construct(FunctionObject&, FunctionObject& new_target, Optional<MarkedVector<Value>> arguments);
-
     Value get_new_target();
     Value get_new_target();
 
 
     Object& get_global_object();
     Object& get_global_object();