From 6f54e7efbdc5edcd254ea2ae5ec543e7b8e40ad9 Mon Sep 17 00:00:00 2001 From: "yang.zhao2" Date: Thu, 4 Jan 2024 11:22:55 +0800 Subject: [PATCH] fix: code format and clean --- src/core/bytecode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/bytecode.c b/src/core/bytecode.c index 2663e46f5..b296105d2 100644 --- a/src/core/bytecode.c +++ b/src/core/bytecode.c @@ -602,7 +602,7 @@ static int JS_WriteFunctionTag(BCWriterState* s, JSValueConst obj) { dbuf_putc(&s->dbuf, 255); dbuf_putc(&s->dbuf, 73); // 'I' dbuf_putc(&s->dbuf, 67); // 'C' - if (b->ic == NULL) { + if (b->ic == NULL) { bc_put_leb128(s, 0); } else { bc_put_leb128(s, b->ic->count); @@ -1607,7 +1607,7 @@ static JSValue JS_ReadFunctionTag(BCReaderState* s) { } /** special column number check logic for V1(.kbc1 file) bytecode format. */ - if (s->buf_end - s->ptr > 4 && s->ptr[0] == 255 && s->ptr[1] == 67 && s->ptr[2] == 79 && s->ptr[3] == 76) { + if (s->buf_end - s->ptr > 4 && s->ptr[0] == 255 && s->ptr[1] == 67 && s->ptr[2] == 79 && s->ptr[3] == 76) { s->ptr += 4; if (bc_get_leb128_int(s, &b->debug.column_num)) { goto fail;