Dev Checkpoint 201908200213

This commit is contained in:
Chris Walker 2019-08-20 02:13:50 -06:00
parent 1aa9e5c722
commit 025269f121
1 changed files with 0 additions and 8 deletions

View File

@ -788,14 +788,6 @@ int JSEmitter::emitWrapperFunction(Node *n) {
int JSEmitter::emitNativeFunction(Node *n) {
String *wrapname = Getattr(n, "wrap:name");
// ismember never seems to be the case;
// it is technically possible to add native member functions,
// just not at the moment? leaving this as an option for later;
// the code will automatically defaulting to static space
if (GetFlag(n, "ismember") != 0)
Setattr(n, "feature:extend", "1"); // member space
else
Setattr(n, "feature:extend", "0"); // static space
enterFunction(n);
state.function(WRAPPER_NAME, wrapname);
exitFunction(n);