DescriptionRefactored the recording of source position in the generated code. The code generator now has two methods
void CodeForStatement(Node* node)
void CodeForSourcePosition(int pos)
The first is used to indicate that code is about to be generated for the given statement and the second is used to indicate that code is about to be generated for the given source position.
Added position information for some statements which was missing whem.
Updated the code generator for ARM to emit source position the same way as for IA-32.
Added an assert to ensure that deferred code stubs will always have a source source position as if it has not it will take whatever source position before which makes no sense.
The passing test on ARM has only been tested using the simulator.
Committed: http://code.google.com/p/v8/source/detail?r=985
Patch Set 1 #
Total comments: 5
Patch Set 2 : '' #
Messages
Total messages: 4 (0 generated)
|