beautify javascript.cxx

This commit is contained in:
William S Fulton 2014-04-25 07:26:27 +01:00
commit 4edb618501

View file

@ -921,7 +921,6 @@ int JSEmitter::emitDtor(Node *n) {
Printv(f_wrappers, wrap, NIL); Printv(f_wrappers, wrap, NIL);
} }
} }
// HACK: this is only for the v8 emitter. maybe set an attribute wrap:action of node // HACK: this is only for the v8 emitter. maybe set an attribute wrap:action of node
// TODO: generate dtors more similar to other wrappers // TODO: generate dtors more similar to other wrappers
// EW: I think this is wrong. delete should only be used when new was used to create. If malloc was used, free needs to be used. // EW: I think this is wrong. delete should only be used when new was used to create. If malloc was used, free needs to be used.