Bug 1012966 - Fix typoes in comments in IonBuilder.cpp. r=shu
authorVincent St-Amour <stamourv@racket-lang.org>
Mon, 19 May 2014 16:08:00 +0200
changeset 184069 6e75378db0c76517c6c441b379c6160b771b4886
parent 184068 b34ba09e0391f1cbff3b3255e09d898978214ec5
child 184070 a8ebf53bc0cfe76987662517ac8400619a8f3e89
push id26810
push usercbook@mozilla.com
push dateWed, 21 May 2014 11:46:36 +0000
treeherdermozilla-central@50fb8c4db2fd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersshu
bugs1012966
milestone32.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 1012966 - Fix typoes in comments in IonBuilder.cpp. r=shu
js/src/jit/IonBuilder.cpp
js/src/jit/IonSpewer.h
--- a/js/src/jit/IonBuilder.cpp
+++ b/js/src/jit/IonBuilder.cpp
@@ -8897,17 +8897,17 @@ IonBuilder::getPropTryCommonGetter(bool 
     return true;
 }
 
 static bool
 CanInlinePropertyOpShapes(const BaselineInspector::ShapeVector &shapes)
 {
     for (size_t i = 0; i < shapes.length(); i++) {
         // We inline the property access as long as the shape is not in
-        // dictionary made. We cannot be sure that the shape is still a
+        // dictionary mode. We cannot be sure that the shape is still a
         // lastProperty, and calling Shape::search() on dictionary mode
         // shapes that aren't lastProperty is invalid.
         if (shapes[i]->inDictionary())
             return false;
     }
 
     return true;
 }
--- a/js/src/jit/IonSpewer.h
+++ b/js/src/jit/IonSpewer.h
@@ -19,19 +19,19 @@ namespace js {
 namespace jit {
 
 // New channels may be added below.
 #define IONSPEW_CHANNEL_LIST(_)             \
     /* Used to abort SSA construction */    \
     _(Abort)                                \
     /* Information about compiled scripts */\
     _(Scripts)                              \
-    /* Information during MIR building */   \
+    /* Info about failing to log script */  \
     _(Logs)                                 \
-    /* Info about failing to log script */  \
+    /* Information during MIR building */   \
     _(MIR)                                  \
     /* Information during alias analysis */ \
     _(Alias)                                \
     /* Information during GVN */            \
     _(GVN)                                  \
     /* Information during Range analysis */ \
     _(Range)                                \
     /* Information during LICM */           \