Bug 921881 - Remove PrintBailoutKind; r=jandem
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 30 Sep 2013 07:57:16 -0400
changeset 149261 a0b2c06bb18626a4ebdbb100a740f7292bb91e86
parent 149260 90585002d95a8f77d12cfc6f1599b6f0557c767c
child 149262 10107fefbfe04f518da4584cc1f3ede60dc1d1e8
push id25380
push userryanvm@gmail.com
push dateMon, 30 Sep 2013 20:16:36 +0000
treeherdermozilla-central@1332fc1c15e1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs921881
milestone27.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 921881 - Remove PrintBailoutKind; r=jandem
js/src/jit/MIR.cpp
--- a/js/src/jit/MIR.cpp
+++ b/js/src/jit/MIR.cpp
@@ -632,29 +632,16 @@ MTableSwitch::New(MDefinition *ins, int3
 
 MGoto *
 MGoto::New(MBasicBlock *target)
 {
     JS_ASSERT(target);
     return new MGoto(target);
 }
 
-static void
-PrintBailoutKind(FILE *fp, BailoutKind bailoutKind)
-{
-    switch(bailoutKind) {
-      case Bailout_Normal: fprintf(fp, "(normal)"); break;
-      case Bailout_ArgumentCheck: fprintf(fp, "(args)"); break;
-      case Bailout_BoundsCheck: fprintf(fp, "(boundscheck)"); break;
-      case Bailout_ShapeGuard: fprintf(fp, "(shapeguard)"); break;
-      case Bailout_BaselineInfo: fprintf(fp, "(baseline info)"); break;
-      default: break;
-    }
-}
-
 void
 MUnbox::printOpcode(FILE *fp) const
 {
     PrintOpcodeName(fp, op());
     fprintf(fp, " ");
     getOperand(0)->printName(fp);
     fprintf(fp, " ");