Ignore:
Timestamp:
Nov 12, 2009, 1:07:51 PM (16 years ago)
Author:
[email protected]
Message:

Start unifying entry logic for function and eval code.

Reviewed by Gavin Barraclough.

Eval now uses a ret instruction to end execution, and sets up
a callframe more in line with what we do for function entry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/parser/Nodes.cpp

    r50254 r50896  
    19781978
    19791979    generator.emitDebugHook(DidExecuteProgram, firstLine(), lastLine());
    1980     generator.emitEnd(dstRegister.get());
     1980    generator.emitReturn(dstRegister.get());
    19811981    return 0;
    19821982}
Note: See TracChangeset for help on using the changeset viewer.