Bug 1282408 - add ignore initialization check flag for functionBodyEndPos from BytecodeEmitter. r=jorendorff
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Tue, 30 Aug 2016 15:43:16 +0300
changeset 378838 ecd4dfc78f59ac42178938f4630a584e2b14e40b
parent 378837 ac433313dbd24b2c63c8e0d812297e3677f0a6ef
child 378839 57b37489a2e314fb2a52bef0af81cd05efa565d7
push id32443
push userarchaeopteryx@coole-files.de
push dateTue, 05 Sep 2017 09:41:20 +0000
treeherdermozilla-central@3ecda4678c49 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorendorff
bugs1282408
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1282408 - add ignore initialization check flag for functionBodyEndPos from BytecodeEmitter. r=jorendorff MozReview-Commit-ID: KreWU3RBSnU
js/src/frontend/BytecodeEmitter.h
--- a/js/src/frontend/BytecodeEmitter.h
+++ b/js/src/frontend/BytecodeEmitter.h
@@ -273,17 +273,17 @@ struct MOZ_STACK_CLASS BytecodeEmitter
          * variable accesses in the script.
          */
         LazyFunction
     };
 
     const EmitterMode emitterMode;
 
     // The end location of a function body that is being emitted.
-    uint32_t functionBodyEndPos;
+    MOZ_INIT_OUTSIDE_CTOR uint32_t functionBodyEndPos;
     // Whether functionBodyEndPos was set.
     bool functionBodyEndPosSet;
 
     /*
      * Note that BytecodeEmitters are magic: they own the arena "top-of-stack"
      * space above their tempMark points. This means that you cannot alloc from
      * tempLifoAlloc and save the pointer beyond the next BytecodeEmitter
      * destruction.