Closed enginespot closed 11 years ago
the follow code, first push joinpoint to a stack , and then remove it
so why?
// TODO: Use Object.freeze once v8 perf problem is fixed joinpoint = pushJoinpoint({ target: context, method: method, args: args, proceed: proceedCall, proceedApply: proceedApply, proceedCount: proceedCount }); try { // Call supplied around advice function return around.call(context, joinpoint); } finally { popJoinpoint(); }
This question was answered here on the cujoJS google group.
the follow code, first push joinpoint to a stack , and then remove it
so why?