Bug 1274588 part 0.1 - Add MOZ_MUST_USE to popStatement functions. r=jorendorff
authorNicolas B. Pierron <nicolas.b.pierron@mozilla.com>
Thu, 02 Jun 2016 13:41:04 +0000
changeset 341185 cd714f1275bedda2307f5ffbcbff99b2550bf180
parent 341184 3d68250b133166b7d65dc99c963fac5fa0ef1439
child 341186 0792b0daef2adbd8af9454fae418aa771726a95e
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorendorff
bugs1274588
milestone49.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 1274588 part 0.1 - Add MOZ_MUST_USE to popStatement functions. r=jorendorff
js/src/frontend/BytecodeEmitter.h
--- a/js/src/frontend/BytecodeEmitter.h
+++ b/js/src/frontend/BytecodeEmitter.h
@@ -443,18 +443,18 @@ struct BytecodeEmitter
     MOZ_MUST_USE bool bindNameToSlot(ParseNode* pn);
     MOZ_MUST_USE bool bindNameToSlotHelper(ParseNode* pn);
 
     void strictifySetNameNode(ParseNode* pn);
     JSOp strictifySetNameOp(JSOp op);
 
     MOZ_MUST_USE bool tryConvertFreeName(ParseNode* pn);
 
-    bool popStatement();
-    bool popStatement(JumpTarget breakTarget);
+    MOZ_MUST_USE bool popStatement();
+    MOZ_MUST_USE bool popStatement(JumpTarget breakTarget);
     void pushStatement(StmtInfoBCE* stmt, StmtType type, JumpTarget top);
     void pushStatementInner(StmtInfoBCE* stmt, StmtType type, JumpTarget top);
     void pushLoopStatement(LoopStmtInfo* stmt, StmtType type, JumpTarget top);
 
     MOZ_MUST_USE bool enterNestedScope(StmtInfoBCE* stmt, ObjectBox* objbox, StmtType stmtType);
     MOZ_MUST_USE bool leaveNestedScope(StmtInfoBCE* stmt);
 
     MOZ_MUST_USE bool enterBlockScope(StmtInfoBCE* stmtInfo, ObjectBox* objbox, JSOp initialValueOp,