DescriptionRefactor script position calculation
Script position calculation logic (i.e. line & column numbers for a
given code position) is now based on a single method
Script::GetPositionInfo(). Refactored related code in isolate.cc and
js/messages.js to use the new method and removed the line_ends JS
accessor.
R=yangguo@chromium.org
BUG=
Committed: https://crrev.com/c04d547298ce4fd425ef1eaa9b02ad1e177918dc
Cr-Commit-Position: refs/heads/master@{#36359}
Patch Set 1 #Patch Set 2 : No unnecessary handle creation #Patch Set 3 : Remove Script.line_ends #
Total comments: 20
Patch Set 4 : Remove SourceLocation #Patch Set 5 : enum instead of bool, remove static wrapper #Patch Set 6 : Fix DCHECK logic #
Dependent Patchsets: Messages
Total messages: 20 (8 generated)
|