--- 295c82f2073e758f5492b96d73dddbbc697c636b/js/src/frontend/Stencil.h
+++ b4cb88d106bd62b949ef92204c648c9379e065ca/js/src/frontend/Stencil.h
@@ -602,17 +602,21 @@ class StencilModuleEntry {
TaggedParserAtomIndex localName;
TaggedParserAtomIndex importName;
TaggedParserAtomIndex exportName;
// Location used for error messages. If this is for a module request entry
// then it is the module specifier string, otherwise the import/export spec
// that failed. Exports may not fill these fields if an error cannot be
// generated such as `export let x;`.
+
+ // Line number (1-origin).
uint32_t lineno = 0;
+
+ // Column number in UTF-16 code units (0-origin).
uint32_t column = 0;
private:
StencilModuleEntry(uint32_t lineno, uint32_t column)
: lineno(lineno), column(column) {}
public:
// For XDR only.
Files
/js/src/frontend/Stencil.h
/js/src/vm/BytecodeUtil-inl.h
/js/src/vm/SharedStencil.h
Changesets
Diffs
/js/src/frontend/Stencil.h
/js/src/vm/BytecodeUtil-inl.h
/js/src/vm/SharedStencil.h