arai-a / smoosh-sync

Automation to make jsparagus and SpiderMonkey bytecode in sync
2 stars 0 forks source link

/js/src/vm/Opcodes.h has been updated (287e498f) #376

Open github-actions[bot] opened 2 months ago

github-actions[bot] commented 2 months ago

Files

Changesets

Diffs

/js/src/vm/Opcodes.h

--- 73f85f87799c8e414554411e2d772cd0df3e74bb/js/src/vm/Opcodes.h
+++ 287e498f8f8c762f2b710773a848981b9abcb2c0/js/src/vm/Opcodes.h
@@ -3410,30 +3410,30 @@
      *
      *   Category: Variables and scopes
      *   Type: Entering and leaving environments
      *   Operands: UsingHint hint
      *   Stack: v => v
      */ \
     IF_EXPLICIT_RESOURCE_MANAGEMENT(MACRO(AddDisposable, add_disposable, NULL, 2, 1, 1, JOF_UINT8)) \
     /*
-     * Get the dispose capability of the present environment object and the
-     * length of the same. In case the dispose capability of the environment
+     * Get the dispose capability of the present environment object.
+     * In case the dispose capability of the environment
      * has already been cleared or if no disposables have been
      * pushed to the capability, it shall push undefined as the dispose
-     * capability and 0 as the length. After extracting a non-empty dispose
+     * capability. After extracting a non-empty dispose
      * capability, the dispose capability is cleared from the present
      * environment object by setting it to undefined value.
      *
      *   Category: Variables and scopes
      *   Type: Entering and leaving environments
      *   Operands:
-     *   Stack: => disposeCapability, count
+     *   Stack: => disposeCapability
      */ \
-    IF_EXPLICIT_RESOURCE_MANAGEMENT(MACRO(TakeDisposeCapability, take_dispose_capability, NULL, 1, 0, 2, JOF_BYTE)) \
+    IF_EXPLICIT_RESOURCE_MANAGEMENT(MACRO(TakeDisposeCapability, take_dispose_capability, NULL, 1, 0, 1, JOF_BYTE)) \
     /*
      * Push the current VariableEnvironment (the environment on the environment
      * chain designated to receive new variables).
      *
      * Implements: [Annex B.3.3.1, changes to FunctionDeclarationInstantiation
      * for block-level functions][1], step 1.a.ii.3.a, and similar steps in
      * other Annex B.3.3 algorithms, when setting the function's second binding
      * can't be optimized.