10dd9ce8be
This makes the compilers agree on the source position of a message generated by "throw new Error()", it points to the beginning of the throw directive. R=titzer@chromium.org TEST=message/regress/regress-3995 BUG=v8:3995 LOG=N Review URL: https://codereview.chromium.org/1049703002 Cr-Commit-Position: refs/heads/master@{#27775}
11 lines
287 B
Plaintext
11 lines
287 B
Plaintext
# Copyright 2015 the V8 project authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
*%(basename)s:6: Error: boom
|
|
throw new Error("boom");
|
|
^
|
|
Error: boom
|
|
at *%(basename)s:6:9
|
|
at *%(basename)s:7:3
|