diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-07-13 23:02:36 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:41 -0400 |
commit | 22dba02b7bcab4d6dfe6b326ecc0a746e5a87191 (patch) | |
tree | 63d231709fe5745edef27b7b43bd9844006d7bfc /js/src/frontend/SharedContext.h | |
parent | 53e46b1e12ef01ccaabb3256738ea1eac74b7941 (diff) | |
download | UXP-22dba02b7bcab4d6dfe6b326ecc0a746e5a87191.tar UXP-22dba02b7bcab4d6dfe6b326ecc0a746e5a87191.tar.gz UXP-22dba02b7bcab4d6dfe6b326ecc0a746e5a87191.tar.lz UXP-22dba02b7bcab4d6dfe6b326ecc0a746e5a87191.tar.xz UXP-22dba02b7bcab4d6dfe6b326ecc0a746e5a87191.zip |
1216630 - Rename preludeStart and postludeEnd to toStringStart and toStringEnd and misc fixes.
Diffstat (limited to 'js/src/frontend/SharedContext.h')
-rw-r--r-- | js/src/frontend/SharedContext.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/js/src/frontend/SharedContext.h b/js/src/frontend/SharedContext.h index 213a0a461..3499a53fb 100644 --- a/js/src/frontend/SharedContext.h +++ b/js/src/frontend/SharedContext.h @@ -451,8 +451,8 @@ class FunctionBox : public ObjectBox, public SharedContext uint32_t bufEnd; uint32_t startLine; uint32_t startColumn; - uint32_t preludeStart; - uint32_t postludeEnd; + uint32_t toStringStart; + uint32_t toStringEnd; uint16_t length; uint8_t generatorKindBits_; /* The GeneratorKind of this function. */ @@ -482,7 +482,7 @@ class FunctionBox : public ObjectBox, public SharedContext FunctionContextFlags funCxFlags; FunctionBox(ExclusiveContext* cx, LifoAlloc& alloc, ObjectBox* traceListHead, JSFunction* fun, - uint32_t preludeStart, Directives directives, bool extraWarnings, + uint32_t toStringStart, Directives directives, bool extraWarnings, GeneratorKind generatorKind, FunctionAsyncKind asyncKind); MutableHandle<LexicalScope::Data*> namedLambdaBindings() { @@ -608,10 +608,10 @@ class FunctionBox : public ObjectBox, public SharedContext void setEnd(uint32_t end) { // For all functions except class constructors, the buffer and - // postlude ending positions are the same. Class constructors override - // the postlude ending position with the end of the class definition. + // toString ending positions are the same. Class constructors override + // the toString ending position with the end of the class definition. bufEnd = end; - postludeEnd = end; + toStringEnd = end; } void trace(JSTracer* trc) override; |