Bug 1028418 - Part 1: Make the InterpreterFrame::Flags enum typed the way it is used; r=shu
authorNick Fitzgerald <fitzgen@gmail.com>
Tue, 28 Jul 2015 13:04:56 -0700
changeset 286703 1c93b870ff5f948de8f7cdd8d60cf5df0eed2dd2
parent 286702 25f43e1459c5f04ddc778ddd073d00f9c4525ee1
child 286704 cd4c99c0f436eec479c30f6f2f8594da0148fe6c
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersshu
bugs1028418
milestone42.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 1028418 - Part 1: Make the InterpreterFrame::Flags enum typed the way it is used; r=shu
js/src/vm/Stack.h
--- a/js/src/vm/Stack.h
+++ b/js/src/vm/Stack.h
@@ -274,17 +274,17 @@ enum ExecuteType {
     EXECUTE_DEBUG_GLOBAL   =        0xd  /* == InterpreterFrame::EVAL | DEBUGGER | GLOBAL */
 };
 
 /*****************************************************************************/
 
 class InterpreterFrame
 {
   public:
-    enum Flags {
+    enum Flags : uint32_t {
         /* Primary frame type */
         GLOBAL             =        0x1,  /* frame pushed for a global script */
         FUNCTION           =        0x2,  /* frame pushed for a scripted call */
 
         /* Frame subtypes */
         EVAL               =        0x4,  /* frame pushed for eval() or debugger eval */