Dev Checkpoint 201908200213
This commit is contained in:
parent
1aa9e5c722
commit
025269f121
1 changed files with 0 additions and 8 deletions
|
|
@ -788,14 +788,6 @@ int JSEmitter::emitWrapperFunction(Node *n) {
|
||||||
|
|
||||||
int JSEmitter::emitNativeFunction(Node *n) {
|
int JSEmitter::emitNativeFunction(Node *n) {
|
||||||
String *wrapname = Getattr(n, "wrap:name");
|
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);
|
enterFunction(n);
|
||||||
state.function(WRAPPER_NAME, wrapname);
|
state.function(WRAPPER_NAME, wrapname);
|
||||||
exitFunction(n);
|
exitFunction(n);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue