Bug 1472291 - Fix two small typos. r=jorendorff draft
authorLogan Smyth <loganfsmyth@gmail.com>
Tue, 03 Jul 2018 13:52:16 -0700
changeset 813847 593a589d7d3fe79ba9489cea01effc50ae8df38e
parent 811678 f8acdf0185d786809bfbe8cabab081400dc47c68
child 813848 5ea75656b7e0c88ce5ef1fb45fa84c385df0805d
child 814550 165214980e36acf481588f1c1139731a218e8c20
push id115020
push userbmo:loganfsmyth@gmail.com
push dateTue, 03 Jul 2018 22:59:25 +0000
reviewersjorendorff
bugs1472291
milestone63.0a1
Bug 1472291 - Fix two small typos. r=jorendorff MozReview-Commit-ID: GPC0WF4PLpx
js/src/vm/Opcodes.h
--- a/js/src/vm/Opcodes.h
+++ b/js/src/vm/Opcodes.h
@@ -1448,17 +1448,17 @@ 1234567890123456789012345678901234567890
      *   Operands: uint8_t hops, uint24_t slot
      *   Stack: v => v
      */ \
     macro(JSOP_INITALIASEDLEXICAL,  141, "initaliasedlexical",  NULL, 5,  1,  1, JOF_ENVCOORD|JOF_NAME|JOF_PROPINIT|JOF_DETECTING) \
     /*
      * Pushes a JS_UNINITIALIZED_LEXICAL value onto the stack, representing an
      * uninitialized lexical binding.
      *
-     * This opcode is used with the JSOP_INITLET opcode.
+     * This opcode is used with the JSOP_INITLEXICAL opcode.
      *   Category: Literals
      *   Type: Constants
      *   Operands:
      *   Stack: => uninitialized
      */ \
     macro(JSOP_UNINITIALIZED, 142, "uninitialized", NULL, 1,  0,  1, JOF_BYTE) \
     /* Pushes the value of the intrinsic onto the stack.
      *
@@ -2018,17 +2018,17 @@ 1234567890123456789012345678901234567890
      *   Operands:
      *   Stack: val => (typeof val)
      */ \
     macro(JSOP_TYPEOFEXPR,    196,"typeofexpr",  NULL,    1,  1,  1, JOF_BYTE|JOF_DETECTING) \
     \
     /* Lexical environment support. */ \
     /*
      * Replaces the current block on the env chain with a fresh block
-     * that copies all the bindings in the bock.  This operation implements the
+     * that copies all the bindings in the block.  This operation implements the
      * behavior of inducing a fresh lexical environment for every iteration of a
      * for(let ...; ...; ...) loop, if any declarations induced by such a loop
      * are captured within the loop.
      *   Category: Variables and Scopes
      *   Type: Block-local Scope
      *   Operands:
      *   Stack: =>
      */ \