Reviewers: Søren Gjesse,
Description:
Refactor code for determining line position in a source file.
1. Make Script::line_ends initialization two-pass to avoid
dynamic memory allocation
2. Get rid of the original code in messages.js and use
Script::line_ends instead.
Please review this at http://codereview.chromium.org/21041
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/accessors.h
M src/accessors.cc
M src/bootstrapper.cc
M src/compiler.cc
M src/messages.js
M src/objects.cc
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---