Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Unified Diff: src/messages.cc

Issue 1872373002: Move MessageLocations constructor out of header (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@show-wasm-frames-4
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.cc
diff --git a/src/messages.cc b/src/messages.cc
index 67ab36f6cf0af2f6cc65a17fb3b69589d8eeedd8..c9b26f2927451fba4cd30b33a5df8dd841e76a53 100644
--- a/src/messages.cc
+++ b/src/messages.cc
@@ -12,6 +12,16 @@
namespace v8 {
namespace internal {
+MessageLocation::MessageLocation(Handle<Script> script, int start_pos,
+ int end_pos)
+ : script_(script), start_pos_(start_pos), end_pos_(end_pos) {}
+MessageLocation::MessageLocation(Handle<Script> script, int start_pos,
+ int end_pos, Handle<JSFunction> function)
+ : script_(script),
+ start_pos_(start_pos),
+ end_pos_(end_pos),
+ function_(function) {}
+MessageLocation::MessageLocation() : start_pos_(-1), end_pos_(-1) {}
// If no message listeners have been registered this one is called
// by default.
« no previous file with comments | « src/messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698