Bug 1343265 - fix typo in DumpJumpOrigins; r=nbp
authorTom Tromey <tom@tromey.com>
Tue, 28 Feb 2017 10:07:44 -0700
changeset 374432 f8194edb8d411e9caab1d26cd283a9791c978c61
parent 374431 9c6a7e1b3f61b0e6c88f641d91cabb3ed6240c2b
child 374433 578d891011c317df2bdfa315791f765394c9302c
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnbp
bugs1343265
milestone54.0a1
Bug 1343265 - fix typo in DumpJumpOrigins; r=nbp MozReview-Commit-ID: 6NDW9kUVZGV
js/src/jsopcode.cpp
--- a/js/src/jsopcode.cpp
+++ b/js/src/jsopcode.cpp
@@ -1315,17 +1315,17 @@ DumpJumpOrigins(JSContext* cx, HandleScr
           break;
 
           case BytecodeParser::JumpKind::SwitchCase:
           if (!sp->put("switch-case "))
               return false;
           break;
 
           case BytecodeParser::JumpKind::SwitchDefault:
-          if (!sp->put("swtich-default "))
+          if (!sp->put("switch-default "))
               return false;
           break;
 
           case BytecodeParser::JumpKind::TryCatch:
           if (!sp->put("try-catch "))
               return false;
           break;