Skip to content

Commit 062290e

Browse files
committed
fixup!
1 parent e5a89cd commit 062290e

File tree

3 files changed

+7
-15
lines changed

3 files changed

+7
-15
lines changed

doc/quickjs.texi

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,6 @@ ECMA402 (Internationalization API) is not supported.
286286

287287
@itemize
288288

289-
@item The directive @code{"use strip"} indicates that the debug information (including the source code of the functions) should not be retained to save memory. As @code{"use strict"}, the directive can be global to a script or local to a function.
290-
291289
@item The first line of a script beginning with @code{#!} is ignored.
292290

293291
@end itemize
@@ -305,10 +303,6 @@ standard Javascript. See @code{jsbignum.pdf} for more information.
305303

306304
@item Operator overloading.
307305

308-
@item The directive @code{"use bigint"} enables the bigint mode where integers are @code{BigInt} by default.
309-
310-
@item The directive @code{"use math"} enables the math mode where the division and power operators on integers produce fractions. Floating point literals are @code{BigFloat} by default and integers are @code{BigInt} by default.
311-
312306
@end itemize
313307

314308
@section Modules

quickjs.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32252,13 +32252,13 @@ static JSValue js_create_function(JSContext *ctx, JSFunctionDef *fd)
3225232252
goto fail;
3225332253

3225432254
#if defined(DUMP_BYTECODE) && (DUMP_BYTECODE & 2)
32255-
printf("pass 2\n");
32256-
dump_byte_code(ctx, 2, fd->byte_code.buf, fd->byte_code.size,
32257-
fd->args, fd->arg_count, fd->vars, fd->var_count,
32258-
fd->closure_var, fd->closure_var_count,
32259-
fd->cpool, fd->cpool_count, fd->source, fd->line_num,
32260-
fd->label_slots, NULL);
32261-
printf("\n");
32255+
printf("pass 2\n");
32256+
dump_byte_code(ctx, 2, fd->byte_code.buf, fd->byte_code.size,
32257+
fd->args, fd->arg_count, fd->vars, fd->var_count,
32258+
fd->closure_var, fd->closure_var_count,
32259+
fd->cpool, fd->cpool_count, fd->source, fd->line_num,
32260+
fd->label_slots, NULL);
32261+
printf("\n");
3226232262
#endif
3226332263

3226432264
if (resolve_labels(ctx, fd))

repl.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2323
* THE SOFTWARE.
2424
*/
25-
"use strip";
26-
2725
import * as std from "std";
2826
import * as os from "os";
2927

0 commit comments

Comments
 (0)