<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[182038] trunk/Source</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/182038">182038</a></dd>
<dt>Author</dt> <dd>ggaren@apple.com</dd>
<dt>Date</dt> <dd>2015-03-26 16:35:47 -0700 (Thu, 26 Mar 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>&quot;lineNo&quot; does not match WebKit coding style guidelines
https://bugs.webkit.org/show_bug.cgi?id=143119

Reviewed by Michael Saboff.

We can afford to use whole words.

Source/JavaScriptCore:

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::lineNumberForBytecodeOffset):
(JSC::CodeBlock::expressionRangeForBytecodeOffset):
* bytecode/UnlinkedCodeBlock.cpp:
(JSC::UnlinkedFunctionExecutable::link):
(JSC::UnlinkedFunctionExecutable::fromGlobalCode):
* bytecode/UnlinkedCodeBlock.h:
* bytecompiler/NodesCodegen.cpp:
(JSC::WhileNode::emitBytecode):
* debugger/Debugger.cpp:
(JSC::Debugger::toggleBreakpoint):
* interpreter/Interpreter.cpp:
(JSC::StackFrame::computeLineAndColumn):
(JSC::GetStackTraceFunctor::operator()):
(JSC::Interpreter::execute):
* interpreter/StackVisitor.cpp:
(JSC::StackVisitor::Frame::computeLineAndColumn):
* parser/Nodes.h:
(JSC::Node::firstLine):
(JSC::Node::lineNo): Deleted.
(JSC::StatementNode::firstLine): Deleted.
* parser/ParserError.h:
(JSC::ParserError::toErrorObject):
* profiler/LegacyProfiler.cpp:
(JSC::createCallIdentifierFromFunctionImp):
* runtime/CodeCache.cpp:
(JSC::CodeCache::getGlobalCodeBlock):
* runtime/Executable.cpp:
(JSC::ScriptExecutable::ScriptExecutable):
(JSC::ScriptExecutable::newCodeBlockFor):
(JSC::FunctionExecutable::fromGlobalCode):
* runtime/Executable.h:
(JSC::ScriptExecutable::firstLine):
(JSC::ScriptExecutable::setOverrideLineNumber):
(JSC::ScriptExecutable::hasOverrideLineNumber):
(JSC::ScriptExecutable::overrideLineNumber):
(JSC::ScriptExecutable::lineNo): Deleted.
(JSC::ScriptExecutable::setOverrideLineNo): Deleted.
(JSC::ScriptExecutable::hasOverrideLineNo): Deleted.
(JSC::ScriptExecutable::overrideLineNo): Deleted.
* runtime/FunctionConstructor.cpp:
(JSC::constructFunctionSkippingEvalEnabledCheck):
* runtime/FunctionConstructor.h:
* tools/CodeProfile.cpp:
(JSC::CodeProfile::report):
* tools/CodeProfile.h:
(JSC::CodeProfile::CodeProfile):

Source/WebCore:

* bindings/js/JSLazyEventListener.cpp:
(WebCore::JSLazyEventListener::initializeJSFunction):
* bindings/js/JSMainThreadExecStateInstrumentation.h:
(WebCore::JSMainThreadExecState::instrumentFunctionCall):
* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::buildObjectForEventListener):
* testing/Internals.cpp:
(WebCore::Internals::parserMetaData):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCorebytecodeCodeBlockcpp">trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCorebytecodeUnlinkedCodeBlockcpp">trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCorebytecodeUnlinkedCodeBlockh">trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h</a></li>
<li><a href="#trunkSourceJavaScriptCorebytecompilerNodesCodegencpp">trunk/Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoredebuggerDebuggercpp">trunk/Source/JavaScriptCore/debugger/Debugger.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreinterpreterInterpretercpp">trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreinterpreterStackVisitorcpp">trunk/Source/JavaScriptCore/interpreter/StackVisitor.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreparserNodesh">trunk/Source/JavaScriptCore/parser/Nodes.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreparserParserErrorh">trunk/Source/JavaScriptCore/parser/ParserError.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreprofilerLegacyProfilercpp">trunk/Source/JavaScriptCore/profiler/LegacyProfiler.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeCodeCachecpp">trunk/Source/JavaScriptCore/runtime/CodeCache.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeExecutablecpp">trunk/Source/JavaScriptCore/runtime/Executable.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeExecutableh">trunk/Source/JavaScriptCore/runtime/Executable.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeFunctionConstructorcpp">trunk/Source/JavaScriptCore/runtime/FunctionConstructor.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeFunctionConstructorh">trunk/Source/JavaScriptCore/runtime/FunctionConstructor.h</a></li>
<li><a href="#trunkSourceJavaScriptCoretoolsCodeProfilecpp">trunk/Source/JavaScriptCore/tools/CodeProfile.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoretoolsCodeProfileh">trunk/Source/JavaScriptCore/tools/CodeProfile.h</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSLazyEventListenercpp">trunk/Source/WebCore/bindings/js/JSLazyEventListener.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSMainThreadExecStateInstrumentationh">trunk/Source/WebCore/bindings/js/JSMainThreadExecStateInstrumentation.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorDOMAgentcpp">trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoretestingInternalscpp">trunk/Source/WebCore/testing/Internals.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/ChangeLog        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -1,5 +1,62 @@
</span><span class="cx"> 2015-03-26  Geoffrey Garen  &lt;ggaren@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        &quot;lineNo&quot; does not match WebKit coding style guidelines
+        https://bugs.webkit.org/show_bug.cgi?id=143119
+
+        Reviewed by Michael Saboff.
+
+        We can afford to use whole words.
+
+        * bytecode/CodeBlock.cpp:
+        (JSC::CodeBlock::lineNumberForBytecodeOffset):
+        (JSC::CodeBlock::expressionRangeForBytecodeOffset):
+        * bytecode/UnlinkedCodeBlock.cpp:
+        (JSC::UnlinkedFunctionExecutable::link):
+        (JSC::UnlinkedFunctionExecutable::fromGlobalCode):
+        * bytecode/UnlinkedCodeBlock.h:
+        * bytecompiler/NodesCodegen.cpp:
+        (JSC::WhileNode::emitBytecode):
+        * debugger/Debugger.cpp:
+        (JSC::Debugger::toggleBreakpoint):
+        * interpreter/Interpreter.cpp:
+        (JSC::StackFrame::computeLineAndColumn):
+        (JSC::GetStackTraceFunctor::operator()):
+        (JSC::Interpreter::execute):
+        * interpreter/StackVisitor.cpp:
+        (JSC::StackVisitor::Frame::computeLineAndColumn):
+        * parser/Nodes.h:
+        (JSC::Node::firstLine):
+        (JSC::Node::lineNo): Deleted.
+        (JSC::StatementNode::firstLine): Deleted.
+        * parser/ParserError.h:
+        (JSC::ParserError::toErrorObject):
+        * profiler/LegacyProfiler.cpp:
+        (JSC::createCallIdentifierFromFunctionImp):
+        * runtime/CodeCache.cpp:
+        (JSC::CodeCache::getGlobalCodeBlock):
+        * runtime/Executable.cpp:
+        (JSC::ScriptExecutable::ScriptExecutable):
+        (JSC::ScriptExecutable::newCodeBlockFor):
+        (JSC::FunctionExecutable::fromGlobalCode):
+        * runtime/Executable.h:
+        (JSC::ScriptExecutable::firstLine):
+        (JSC::ScriptExecutable::setOverrideLineNumber):
+        (JSC::ScriptExecutable::hasOverrideLineNumber):
+        (JSC::ScriptExecutable::overrideLineNumber):
+        (JSC::ScriptExecutable::lineNo): Deleted.
+        (JSC::ScriptExecutable::setOverrideLineNo): Deleted.
+        (JSC::ScriptExecutable::hasOverrideLineNo): Deleted.
+        (JSC::ScriptExecutable::overrideLineNo): Deleted.
+        * runtime/FunctionConstructor.cpp:
+        (JSC::constructFunctionSkippingEvalEnabledCheck):
+        * runtime/FunctionConstructor.h:
+        * tools/CodeProfile.cpp:
+        (JSC::CodeProfile::report):
+        * tools/CodeProfile.h:
+        (JSC::CodeProfile::CodeProfile):
+
+2015-03-26  Geoffrey Garen  &lt;ggaren@apple.com&gt;
+
</ins><span class="cx">         Assertion firing in JavaScriptCore/parser/parser.h for statesman.com site
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=142974
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCorebytecodeCodeBlockcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -2831,7 +2831,7 @@
</span><span class="cx"> unsigned CodeBlock::lineNumberForBytecodeOffset(unsigned bytecodeOffset)
</span><span class="cx"> {
</span><span class="cx">     RELEASE_ASSERT(bytecodeOffset &lt; instructions().size());
</span><del>-    return m_ownerExecutable-&gt;lineNo() + m_unlinkedCode-&gt;lineNumberForBytecodeOffset(bytecodeOffset);
</del><ins>+    return m_ownerExecutable-&gt;firstLine() + m_unlinkedCode-&gt;lineNumberForBytecodeOffset(bytecodeOffset);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> unsigned CodeBlock::columnNumberForBytecodeOffset(unsigned bytecodeOffset)
</span><span class="lines">@@ -2850,7 +2850,7 @@
</span><span class="cx">     m_unlinkedCode-&gt;expressionRangeForBytecodeOffset(bytecodeOffset, divot, startOffset, endOffset, line, column);
</span><span class="cx">     divot += m_sourceOffset;
</span><span class="cx">     column += line ? 1 : firstLineColumnOffset();
</span><del>-    line += m_ownerExecutable-&gt;lineNo();
</del><ins>+    line += m_ownerExecutable-&gt;firstLine();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool CodeBlock::hasOpDebugForLineAndColumn(unsigned line, unsigned column)
</span></span></pre></div>
<a id="trunkSourceJavaScriptCorebytecodeUnlinkedCodeBlockcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -132,7 +132,7 @@
</span><span class="cx">     visitor.append(&amp;thisObject-&gt;m_symbolTableForConstruct);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-FunctionExecutable* UnlinkedFunctionExecutable::link(VM&amp; vm, const SourceCode&amp; ownerSource, int overrideLineNo)
</del><ins>+FunctionExecutable* UnlinkedFunctionExecutable::link(VM&amp; vm, const SourceCode&amp; ownerSource, int overrideLineNumber)
</ins><span class="cx"> {
</span><span class="cx">     SourceCode source = m_sourceOverride ? SourceCode(m_sourceOverride) : ownerSource;
</span><span class="cx">     unsigned firstLine = source.firstLine() + m_firstLineOffset;
</span><span class="lines">@@ -146,14 +146,14 @@
</span><span class="cx"> 
</span><span class="cx">     SourceCode code(source.provider(), startOffset, startOffset + m_sourceLength, firstLine, startColumn);
</span><span class="cx">     FunctionExecutable* result = FunctionExecutable::create(vm, code, this, firstLine, firstLine + m_lineCount, startColumn, endColumn);
</span><del>-    if (overrideLineNo != -1)
-        result-&gt;setOverrideLineNo(overrideLineNo);
</del><ins>+    if (overrideLineNumber != -1)
+        result-&gt;setOverrideLineNumber(overrideLineNumber);
</ins><span class="cx">     return result;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> UnlinkedFunctionExecutable* UnlinkedFunctionExecutable::fromGlobalCode(
</span><span class="cx">     const Identifier&amp; name, ExecState&amp; exec, const SourceCode&amp; source, 
</span><del>-    JSObject*&amp; exception, int overrideLineNo)
</del><ins>+    JSObject*&amp; exception, int overrideLineNumber)
</ins><span class="cx"> {
</span><span class="cx">     ParserError error;
</span><span class="cx">     VM&amp; vm = exec.vm();
</span><span class="lines">@@ -165,7 +165,7 @@
</span><span class="cx">         globalObject.debugger()-&gt;sourceParsed(&amp;exec, source.provider(), error.line(), error.message());
</span><span class="cx"> 
</span><span class="cx">     if (error.isValid()) {
</span><del>-        exception = error.toErrorObject(&amp;globalObject, source, overrideLineNo);
</del><ins>+        exception = error.toErrorObject(&amp;globalObject, source, overrideLineNumber);
</ins><span class="cx">         return nullptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCorebytecodeUnlinkedCodeBlockh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -138,9 +138,9 @@
</span><span class="cx"> 
</span><span class="cx">     static UnlinkedFunctionExecutable* fromGlobalCode(
</span><span class="cx">         const Identifier&amp;, ExecState&amp;, const SourceCode&amp;, JSObject*&amp; exception, 
</span><del>-        int overrideLineNo);
</del><ins>+        int overrideLineNumber);
</ins><span class="cx"> 
</span><del>-    FunctionExecutable* link(VM&amp;, const SourceCode&amp;, int overrideLineNo = -1);
</del><ins>+    FunctionExecutable* link(VM&amp;, const SourceCode&amp;, int overrideLineNumber = -1);
</ins><span class="cx"> 
</span><span class="cx">     void clearCodeForRecompilation()
</span><span class="cx">     {
</span></span></pre></div>
<a id="trunkSourceJavaScriptCorebytecompilerNodesCodegencpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -1987,7 +1987,7 @@
</span><span class="cx">     LabelScopePtr scope = generator.newLabelScope(LabelScope::Loop);
</span><span class="cx">     RefPtr&lt;Label&gt; topOfLoop = generator.newLabel();
</span><span class="cx"> 
</span><del>-    generator.emitDebugHook(WillExecuteStatement, m_expr-&gt;lineNo(), m_expr-&gt;startOffset(), m_expr-&gt;lineStartOffset());
</del><ins>+    generator.emitDebugHook(WillExecuteStatement, m_expr-&gt;firstLine(), m_expr-&gt;startOffset(), m_expr-&gt;lineStartOffset());
</ins><span class="cx">     generator.emitNodeInConditionContext(m_expr, topOfLoop.get(), scope-&gt;breakTarget(), FallThroughMeansTrue);
</span><span class="cx"> 
</span><span class="cx">     generator.emitLabel(topOfLoop.get());
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoredebuggerDebuggercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/debugger/Debugger.cpp (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/debugger/Debugger.cpp        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/debugger/Debugger.cpp        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -270,7 +270,7 @@
</span><span class="cx">     unsigned line = breakpoint.line;
</span><span class="cx">     unsigned column = breakpoint.column;
</span><span class="cx"> 
</span><del>-    unsigned startLine = executable-&gt;lineNo();
</del><ins>+    unsigned startLine = executable-&gt;firstLine();
</ins><span class="cx">     unsigned startColumn = executable-&gt;startColumn();
</span><span class="cx">     unsigned endLine = executable-&gt;lastLine();
</span><span class="cx">     unsigned endColumn = executable-&gt;endColumn();
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreinterpreterInterpretercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -441,8 +441,8 @@
</span><span class="cx">     line = divotLine + lineOffset;
</span><span class="cx">     column = divotColumn + (divotLine ? 1 : firstLineColumnOffset);
</span><span class="cx"> 
</span><del>-    if (executable-&gt;hasOverrideLineNo())
-        line = executable-&gt;overrideLineNo();
</del><ins>+    if (executable-&gt;hasOverrideLineNumber())
+        line = executable-&gt;overrideLineNumber();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void StackFrame::expressionInfo(int&amp; divot, int&amp; startOffset, int&amp; endOffset, unsigned&amp; line, unsigned&amp; column)
</span><span class="lines">@@ -496,7 +496,7 @@
</span><span class="cx">                     Strong&lt;ScriptExecutable&gt;(vm, codeBlock-&gt;ownerExecutable()),
</span><span class="cx">                     Strong&lt;UnlinkedCodeBlock&gt;(vm, codeBlock-&gt;unlinkedCodeBlock()),
</span><span class="cx">                     codeBlock-&gt;source(),
</span><del>-                    codeBlock-&gt;ownerExecutable()-&gt;lineNo(),
</del><ins>+                    codeBlock-&gt;ownerExecutable()-&gt;firstLine(),
</ins><span class="cx">                     codeBlock-&gt;firstLineColumnOffset(),
</span><span class="cx">                     codeBlock-&gt;sourceOffset(),
</span><span class="cx">                     visitor-&gt;bytecodeOffset(),
</span><span class="lines">@@ -845,7 +845,7 @@
</span><span class="cx">     protoCallFrame.init(codeBlock, JSCallee::create(vm, scope-&gt;globalObject(), scope), thisObj, 1);
</span><span class="cx"> 
</span><span class="cx">     if (LegacyProfiler* profiler = vm.enabledProfiler())
</span><del>-        profiler-&gt;willExecute(callFrame, program-&gt;sourceURL(), program-&gt;lineNo(), program-&gt;startColumn());
</del><ins>+        profiler-&gt;willExecute(callFrame, program-&gt;sourceURL(), program-&gt;firstLine(), program-&gt;startColumn());
</ins><span class="cx"> 
</span><span class="cx">     // Execute the code:
</span><span class="cx">     JSValue result;
</span><span class="lines">@@ -857,7 +857,7 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (LegacyProfiler* profiler = vm.enabledProfiler())
</span><del>-        profiler-&gt;didExecute(callFrame, program-&gt;sourceURL(), program-&gt;lineNo(), program-&gt;startColumn());
</del><ins>+        profiler-&gt;didExecute(callFrame, program-&gt;sourceURL(), program-&gt;firstLine(), program-&gt;startColumn());
</ins><span class="cx"> 
</span><span class="cx">     return checkedReturn(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1132,7 +1132,7 @@
</span><span class="cx">     protoCallFrame.init(codeBlock, JSCallee::create(vm, scope-&gt;globalObject(), scope), thisValue, 1);
</span><span class="cx"> 
</span><span class="cx">     if (LegacyProfiler* profiler = vm.enabledProfiler())
</span><del>-        profiler-&gt;willExecute(callFrame, eval-&gt;sourceURL(), eval-&gt;lineNo(), eval-&gt;startColumn());
</del><ins>+        profiler-&gt;willExecute(callFrame, eval-&gt;sourceURL(), eval-&gt;firstLine(), eval-&gt;startColumn());
</ins><span class="cx"> 
</span><span class="cx">     // Execute the code:
</span><span class="cx">     JSValue result;
</span><span class="lines">@@ -1144,7 +1144,7 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (LegacyProfiler* profiler = vm.enabledProfiler())
</span><del>-        profiler-&gt;didExecute(callFrame, eval-&gt;sourceURL(), eval-&gt;lineNo(), eval-&gt;startColumn());
</del><ins>+        profiler-&gt;didExecute(callFrame, eval-&gt;sourceURL(), eval-&gt;firstLine(), eval-&gt;startColumn());
</ins><span class="cx"> 
</span><span class="cx">     return checkedReturn(result);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreinterpreterStackVisitorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/interpreter/StackVisitor.cpp (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/interpreter/StackVisitor.cpp        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/interpreter/StackVisitor.cpp        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -291,11 +291,11 @@
</span><span class="cx">     unsigned divotColumn = 0;
</span><span class="cx">     retrieveExpressionInfo(divot, unusedStartOffset, unusedEndOffset, divotLine, divotColumn);
</span><span class="cx"> 
</span><del>-    line = divotLine + codeBlock-&gt;ownerExecutable()-&gt;lineNo();
</del><ins>+    line = divotLine + codeBlock-&gt;ownerExecutable()-&gt;firstLine();
</ins><span class="cx">     column = divotColumn + (divotLine ? 1 : codeBlock-&gt;firstLineColumnOffset());
</span><span class="cx"> 
</span><del>-    if (codeBlock-&gt;ownerExecutable()-&gt;hasOverrideLineNo())
-        line = codeBlock-&gt;ownerExecutable()-&gt;overrideLineNo();
</del><ins>+    if (codeBlock-&gt;ownerExecutable()-&gt;hasOverrideLineNumber())
+        line = codeBlock-&gt;ownerExecutable()-&gt;overrideLineNumber();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void StackVisitor::Frame::retrieveExpressionInfo(int&amp; divot, int&amp; startOffset, int&amp; endOffset, unsigned&amp; line, unsigned&amp; column)
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreparserNodesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/parser/Nodes.h (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/parser/Nodes.h        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/parser/Nodes.h        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -126,7 +126,7 @@
</span><span class="cx">     public:
</span><span class="cx">         virtual ~Node() { }
</span><span class="cx"> 
</span><del>-        int lineNo() const { return m_position.line; }
</del><ins>+        int firstLine() const { return m_position.line; }
</ins><span class="cx">         int startOffset() const { return m_position.offset; }
</span><span class="cx">         int endOffset() const { return m_endOffset; }
</span><span class="cx">         int lineStartOffset() const { return m_position.lineStartOffset; }
</span><span class="lines">@@ -184,7 +184,6 @@
</span><span class="cx">         virtual void emitBytecode(BytecodeGenerator&amp;, RegisterID* destination = 0) = 0;
</span><span class="cx"> 
</span><span class="cx">         void setLoc(unsigned firstLine, unsigned lastLine, int startOffset, int lineStartOffset);
</span><del>-        unsigned firstLine() const { return lineNo(); }
</del><span class="cx">         unsigned lastLine() const { return m_lastLine; }
</span><span class="cx"> 
</span><span class="cx">         StatementNode* next() { return m_next; }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreparserParserErrorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/parser/ParserError.h (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/parser/ParserError.h        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/parser/ParserError.h        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -87,7 +87,7 @@
</span><span class="cx"> 
</span><span class="cx">     JSObject* toErrorObject(
</span><span class="cx">         JSGlobalObject* globalObject, const SourceCode&amp; source, 
</span><del>-        int overrideLineNo = -1)
</del><ins>+        int overrideLineNumber = -1)
</ins><span class="cx">     {
</span><span class="cx">         switch (m_type) {
</span><span class="cx">         case ErrorNone:
</span><span class="lines">@@ -96,7 +96,7 @@
</span><span class="cx">             return addErrorInfo(
</span><span class="cx">                 globalObject-&gt;globalExec(), 
</span><span class="cx">                 createSyntaxError(globalObject, m_message), 
</span><del>-                overrideLineNo == -1 ? m_line : overrideLineNo, source);
</del><ins>+                overrideLineNumber == -1 ? m_line : overrideLineNumber, source);
</ins><span class="cx">         case EvalError:
</span><span class="cx">             return createSyntaxError(globalObject, m_message);
</span><span class="cx">         case StackOverflow: {
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreprofilerLegacyProfilercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/profiler/LegacyProfiler.cpp (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/profiler/LegacyProfiler.cpp        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/profiler/LegacyProfiler.cpp        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -201,7 +201,7 @@
</span><span class="cx">     const String&amp; name = getCalculatedDisplayName(exec, function);
</span><span class="cx">     JSFunction* jsFunction = jsDynamicCast&lt;JSFunction*&gt;(function);
</span><span class="cx">     if (jsFunction &amp;&amp; !jsFunction-&gt;isHostOrBuiltinFunction())
</span><del>-        return CallIdentifier(name.isEmpty() ? ASCIILiteral(AnonymousFunction) : name, jsFunction-&gt;jsExecutable()-&gt;sourceURL(), jsFunction-&gt;jsExecutable()-&gt;lineNo(), jsFunction-&gt;jsExecutable()-&gt;startColumn());
</del><ins>+        return CallIdentifier(name.isEmpty() ? ASCIILiteral(AnonymousFunction) : name, jsFunction-&gt;jsExecutable()-&gt;sourceURL(), jsFunction-&gt;jsExecutable()-&gt;firstLine(), jsFunction-&gt;jsExecutable()-&gt;startColumn());
</ins><span class="cx">     return CallIdentifier(name.isEmpty() ? ASCIILiteral(AnonymousFunction) : name, defaultSourceURL, defaultLineNumber, defaultColumnNumber);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeCodeCachecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/CodeCache.cpp (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/CodeCache.cpp        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/runtime/CodeCache.cpp        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -98,15 +98,15 @@
</span><span class="cx">     if (!rootNode)
</span><span class="cx">         return nullptr;
</span><span class="cx"> 
</span><del>-    unsigned lineCount = rootNode-&gt;lastLine() - rootNode-&gt;lineNo();
</del><ins>+    unsigned lineCount = rootNode-&gt;lastLine() - rootNode-&gt;firstLine();
</ins><span class="cx">     unsigned startColumn = rootNode-&gt;startColumn() + 1;
</span><span class="cx">     bool endColumnIsOnStartLine = !lineCount;
</span><span class="cx">     unsigned unlinkedEndColumn = rootNode-&gt;endColumn();
</span><span class="cx">     unsigned endColumn = unlinkedEndColumn + (endColumnIsOnStartLine ? startColumn : 1);
</span><del>-    executable-&gt;recordParse(rootNode-&gt;features(), rootNode-&gt;hasCapturedVariables(), rootNode-&gt;lineNo(), rootNode-&gt;lastLine(), startColumn, endColumn);
</del><ins>+    executable-&gt;recordParse(rootNode-&gt;features(), rootNode-&gt;hasCapturedVariables(), rootNode-&gt;firstLine(), rootNode-&gt;lastLine(), startColumn, endColumn);
</ins><span class="cx"> 
</span><span class="cx">     UnlinkedCodeBlockType* unlinkedCodeBlock = UnlinkedCodeBlockType::create(&amp;vm, executable-&gt;executableInfo());
</span><del>-    unlinkedCodeBlock-&gt;recordParse(rootNode-&gt;features(), rootNode-&gt;hasCapturedVariables(), rootNode-&gt;lineNo() - source.firstLine(), lineCount, unlinkedEndColumn);
</del><ins>+    unlinkedCodeBlock-&gt;recordParse(rootNode-&gt;features(), rootNode-&gt;hasCapturedVariables(), rootNode-&gt;firstLine() - source.firstLine(), lineCount, unlinkedEndColumn);
</ins><span class="cx"> 
</span><span class="cx">     auto generator = std::make_unique&lt;BytecodeGenerator&gt;(vm, rootNode.get(), unlinkedCodeBlock, debuggerMode, profilerMode);
</span><span class="cx">     error = generator-&gt;generate();
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeExecutablecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/Executable.cpp (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/Executable.cpp        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/runtime/Executable.cpp        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -100,7 +100,7 @@
</span><span class="cx">     , m_hasCapturedVariables(false)
</span><span class="cx">     , m_neverInline(false)
</span><span class="cx">     , m_didTryToEnterInLoop(false)
</span><del>-    , m_overrideLineNo(-1)
</del><ins>+    , m_overrideLineNumber(-1)
</ins><span class="cx">     , m_firstLine(-1)
</span><span class="cx">     , m_lastLine(-1)
</span><span class="cx">     , m_startColumn(UINT_MAX)
</span><span class="lines">@@ -239,7 +239,7 @@
</span><span class="cx">     UnlinkedFunctionCodeBlock* unlinkedCodeBlock =
</span><span class="cx">         executable-&gt;m_unlinkedExecutable-&gt;codeBlockFor(
</span><span class="cx">             *vm, executable-&gt;m_source, kind, debuggerMode, profilerMode, error);
</span><del>-    recordParse(executable-&gt;m_unlinkedExecutable-&gt;features(), executable-&gt;m_unlinkedExecutable-&gt;hasCapturedVariables(), lineNo(), lastLine(), startColumn(), endColumn()); 
</del><ins>+    recordParse(executable-&gt;m_unlinkedExecutable-&gt;features(), executable-&gt;m_unlinkedExecutable-&gt;hasCapturedVariables(), firstLine(), lastLine(), startColumn(), endColumn()); 
</ins><span class="cx">     if (!unlinkedCodeBlock) {
</span><span class="cx">         exception = vm-&gt;throwException(
</span><span class="cx">             globalObject-&gt;globalExec(),
</span><span class="lines">@@ -611,15 +611,15 @@
</span><span class="cx"> 
</span><span class="cx"> FunctionExecutable* FunctionExecutable::fromGlobalCode(
</span><span class="cx">     const Identifier&amp; name, ExecState&amp; exec, const SourceCode&amp; source, 
</span><del>-    JSObject*&amp; exception, int overrideLineNo)
</del><ins>+    JSObject*&amp; exception, int overrideLineNumber)
</ins><span class="cx"> {
</span><span class="cx">     UnlinkedFunctionExecutable* unlinkedExecutable = 
</span><span class="cx">         UnlinkedFunctionExecutable::fromGlobalCode(
</span><del>-            name, exec, source, exception, overrideLineNo);
</del><ins>+            name, exec, source, exception, overrideLineNumber);
</ins><span class="cx">     if (!unlinkedExecutable)
</span><span class="cx">         return nullptr;
</span><span class="cx"> 
</span><del>-    return unlinkedExecutable-&gt;link(exec.vm(), source, overrideLineNo);
</del><ins>+    return unlinkedExecutable-&gt;link(exec.vm(), source, overrideLineNumber);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void ExecutableBase::dump(PrintStream&amp; out) const
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeExecutableh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/Executable.h (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/Executable.h        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/runtime/Executable.h        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -357,10 +357,10 @@
</span><span class="cx">     const SourceCode&amp; source() const { return m_source; }
</span><span class="cx">     intptr_t sourceID() const { return m_source.providerID(); }
</span><span class="cx">     const String&amp; sourceURL() const { return m_source.provider()-&gt;url(); }
</span><del>-    int lineNo() const { return m_firstLine; }
-    void setOverrideLineNo(int overrideLineNo) { m_overrideLineNo = overrideLineNo; }
-    bool hasOverrideLineNo() const { return m_overrideLineNo != -1; }
-    int overrideLineNo() const { return m_overrideLineNo; }
</del><ins>+    int firstLine() const { return m_firstLine; }
+    void setOverrideLineNumber(int overrideLineNumber) { m_overrideLineNumber = overrideLineNumber; }
+    bool hasOverrideLineNumber() const { return m_overrideLineNumber != -1; }
+    int overrideLineNumber() const { return m_overrideLineNumber; }
</ins><span class="cx">     int lastLine() const { return m_lastLine; }
</span><span class="cx">     unsigned startColumn() const { return m_startColumn; }
</span><span class="cx">     unsigned endColumn() const { return m_endColumn; }
</span><span class="lines">@@ -432,7 +432,7 @@
</span><span class="cx">     bool m_hasCapturedVariables;
</span><span class="cx">     bool m_neverInline;
</span><span class="cx">     bool m_didTryToEnterInLoop;
</span><del>-    int m_overrideLineNo;
</del><ins>+    int m_overrideLineNumber;
</ins><span class="cx">     int m_firstLine;
</span><span class="cx">     int m_lastLine;
</span><span class="cx">     unsigned m_startColumn;
</span><span class="lines">@@ -555,7 +555,7 @@
</span><span class="cx">     }
</span><span class="cx">     static FunctionExecutable* fromGlobalCode(
</span><span class="cx">         const Identifier&amp; name, ExecState&amp;, const SourceCode&amp;, 
</span><del>-        JSObject*&amp; exception, int overrideLineNo);
</del><ins>+        JSObject*&amp; exception, int overrideLineNumber);
</ins><span class="cx"> 
</span><span class="cx">     static void destroy(JSCell*);
</span><span class="cx">         
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeFunctionConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/FunctionConstructor.cpp (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/FunctionConstructor.cpp        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/runtime/FunctionConstructor.cpp        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -89,7 +89,7 @@
</span><span class="cx"> JSObject* constructFunctionSkippingEvalEnabledCheck(
</span><span class="cx">     ExecState* exec, JSGlobalObject* globalObject, const ArgList&amp; args, 
</span><span class="cx">     const Identifier&amp; functionName, const String&amp; sourceURL, 
</span><del>-    const TextPosition&amp; position, int overrideLineNo)
</del><ins>+    const TextPosition&amp; position, int overrideLineNumber)
</ins><span class="cx"> {
</span><span class="cx">     // How we stringify functions is sometimes important for web compatibility.
</span><span class="cx">     // See https://bugs.webkit.org/show_bug.cgi?id=24350.
</span><span class="lines">@@ -116,7 +116,7 @@
</span><span class="cx"> 
</span><span class="cx">     SourceCode source = makeSource(program, sourceURL, position);
</span><span class="cx">     JSObject* exception = nullptr;
</span><del>-    FunctionExecutable* function = FunctionExecutable::fromGlobalCode(functionName, *exec, source, exception, overrideLineNo);
</del><ins>+    FunctionExecutable* function = FunctionExecutable::fromGlobalCode(functionName, *exec, source, exception, overrideLineNumber);
</ins><span class="cx">     if (!function) {
</span><span class="cx">         ASSERT(exception);
</span><span class="cx">         return exec-&gt;vm().throwException(exec, exception);
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeFunctionConstructorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/FunctionConstructor.h (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/FunctionConstructor.h        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/runtime/FunctionConstructor.h        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx"> 
</span><span class="cx"> JS_EXPORT_PRIVATE JSObject* constructFunctionSkippingEvalEnabledCheck(
</span><span class="cx">     ExecState*, JSGlobalObject*, const ArgList&amp;, const Identifier&amp;, 
</span><del>-    const String&amp;, const WTF::TextPosition&amp;, int overrideLineNo = -1);
</del><ins>+    const String&amp;, const WTF::TextPosition&amp;, int overrideLineNumber = -1);
</ins><span class="cx"> 
</span><span class="cx"> } // namespace JSC
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoretoolsCodeProfilecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/tools/CodeProfile.cpp (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/tools/CodeProfile.cpp        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/tools/CodeProfile.cpp        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -143,7 +143,7 @@
</span><span class="cx"> 
</span><span class="cx"> void CodeProfile::report()
</span><span class="cx"> {
</span><del>-    dataLogF(&quot;&lt;CodeProfiling %s:%d&gt;\n&quot;, m_file.data(), m_lineNo);
</del><ins>+    dataLogF(&quot;&lt;CodeProfiling %s:%d&gt;\n&quot;, m_file.data(), m_lineNumber);
</ins><span class="cx"> 
</span><span class="cx">     // How many frames of C-code to print - 0, if not verbose, 1 if verbose, up to 1024 if very verbose.
</span><span class="cx">     unsigned recursionLimit = CodeProfiling::beVeryVerbose() ? 1024 : CodeProfiling::beVerbose();
</span><span class="lines">@@ -186,7 +186,7 @@
</span><span class="cx">     for (size_t i = 0 ; i &lt; m_children.size(); ++i)
</span><span class="cx">         m_children[i]-&gt;report();
</span><span class="cx"> 
</span><del>-    dataLogF(&quot;&lt;/CodeProfiling %s:%d&gt;\n&quot;, m_file.data(), m_lineNo);
</del><ins>+    dataLogF(&quot;&lt;/CodeProfiling %s:%d&gt;\n&quot;, m_file.data(), m_lineNumber);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoretoolsCodeProfileh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/tools/CodeProfile.h (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/tools/CodeProfile.h        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/JavaScriptCore/tools/CodeProfile.h        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> public:
</span><span class="cx">     CodeProfile(const SourceCode&amp; source, CodeProfile* parent)
</span><span class="cx">         : m_file(source.provider()-&gt;url().utf8())
</span><del>-        , m_lineNo(source.firstLine())
</del><ins>+        , m_lineNumber(source.firstLine())
</ins><span class="cx">         , m_parent(parent)
</span><span class="cx">     {
</span><span class="cx">         if (parent)
</span><span class="lines">@@ -80,7 +80,7 @@
</span><span class="cx">     };
</span><span class="cx"> 
</span><span class="cx">     CString m_file;
</span><del>-    unsigned m_lineNo;
</del><ins>+    unsigned m_lineNumber;
</ins><span class="cx">     CodeProfile* m_parent;
</span><span class="cx">     Vector&lt;std::unique_ptr&lt;CodeProfile&gt;&gt; m_children;
</span><span class="cx">     TieredMMapArray&lt;CodeRecord&gt; m_samples;
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/WebCore/ChangeLog        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -1,3 +1,21 @@
</span><ins>+2015-03-26  Geoffrey Garen  &lt;ggaren@apple.com&gt;
+
+        &quot;lineNo&quot; does not match WebKit coding style guidelines
+        https://bugs.webkit.org/show_bug.cgi?id=143119
+
+        Reviewed by Michael Saboff.
+
+        We can afford to use whole words.
+
+        * bindings/js/JSLazyEventListener.cpp:
+        (WebCore::JSLazyEventListener::initializeJSFunction):
+        * bindings/js/JSMainThreadExecStateInstrumentation.h:
+        (WebCore::JSMainThreadExecState::instrumentFunctionCall):
+        * inspector/InspectorDOMAgent.cpp:
+        (WebCore::InspectorDOMAgent::buildObjectForEventListener):
+        * testing/Internals.cpp:
+        (WebCore::Internals::parserMetaData):
+
</ins><span class="cx"> 2015-03-26  Roger Fong  &lt;roger_fong@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Apply blur effect to media control background.
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSLazyEventListenercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSLazyEventListener.cpp (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSLazyEventListener.cpp        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/WebCore/bindings/js/JSLazyEventListener.cpp        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -106,11 +106,11 @@
</span><span class="cx"> 
</span><span class="cx">     // We want all errors to refer back to the line on which our attribute was
</span><span class="cx">     // declared, regardless of any newlines in our JavaScript source text.
</span><del>-    int overrideLineNo = m_position.m_line.oneBasedInt();
</del><ins>+    int overrideLineNumber = m_position.m_line.oneBasedInt();
</ins><span class="cx"> 
</span><span class="cx">     JSObject* jsFunction = constructFunctionSkippingEvalEnabledCheck(
</span><span class="cx">         exec, exec-&gt;lexicalGlobalObject(), args, Identifier(exec, m_functionName), 
</span><del>-        m_sourceURL, m_position, overrideLineNo);
</del><ins>+        m_sourceURL, m_position, overrideLineNumber);
</ins><span class="cx"> 
</span><span class="cx">     if (exec-&gt;hadException()) {
</span><span class="cx">         reportCurrentException(exec);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSMainThreadExecStateInstrumentationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSMainThreadExecStateInstrumentation.h (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSMainThreadExecStateInstrumentation.h        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/WebCore/bindings/js/JSMainThreadExecStateInstrumentation.h        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -41,7 +41,7 @@
</span><span class="cx">     int lineNumber = 1;
</span><span class="cx">     if (callType == JSC::CallTypeJS) {
</span><span class="cx">         resourceName = callData.js.functionExecutable-&gt;sourceURL();
</span><del>-        lineNumber = callData.js.functionExecutable-&gt;lineNo();
</del><ins>+        lineNumber = callData.js.functionExecutable-&gt;firstLine();
</ins><span class="cx">     } else
</span><span class="cx">         resourceName = &quot;undefined&quot;;
</span><span class="cx">     return InspectorInstrumentation::willCallFunction(context, resourceName, lineNumber);
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorDOMAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -1375,7 +1375,7 @@
</span><span class="cx">             if (auto function = JSC::jsDynamicCast&lt;JSC::JSFunction*&gt;(handler)) {
</span><span class="cx">                 if (!function-&gt;isHostOrBuiltinFunction()) {
</span><span class="cx">                     if (auto executable = function-&gt;jsExecutable()) {
</span><del>-                        lineNumber = executable-&gt;lineNo() - 1;
</del><ins>+                        lineNumber = executable-&gt;firstLine() - 1;
</ins><span class="cx">                         scriptID = executable-&gt;sourceID() == JSC::SourceProvider::nullID ? emptyString() : String::number(executable-&gt;sourceID());
</span><span class="cx">                         sourceName = executable-&gt;sourceURL();
</span><span class="cx">                     }
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.cpp (182037 => 182038)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.cpp        2015-03-26 23:24:02 UTC (rev 182037)
+++ trunk/Source/WebCore/testing/Internals.cpp        2015-03-26 23:35:47 UTC (rev 182038)
</span><span class="lines">@@ -1346,7 +1346,7 @@
</span><span class="cx">     } else
</span><span class="cx">         return String();
</span><span class="cx"> 
</span><del>-    unsigned startLine = executable-&gt;lineNo();
</del><ins>+    unsigned startLine = executable-&gt;firstLine();
</ins><span class="cx">     unsigned startColumn = executable-&gt;startColumn();
</span><span class="cx">     unsigned endLine = executable-&gt;lastLine();
</span><span class="cx">     unsigned endColumn = executable-&gt;endColumn();
</span></span></pre>
</div>
</div>

</body>
</html>