From 8fa0a09d8b6fae8a5f9c03179be8c0114aff1b19 Mon Sep 17 00:00:00 2001 From: Nero <46645625+nerodesu017@users.noreply.github.com> Date: Sat, 9 Mar 2024 23:34:05 +0200 Subject: [PATCH] Update torque.md asm_tester 2nd argument changed to JSParameterCount(0) instead of 0 --- src/docs/torque.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/torque.md b/src/docs/torque.md index ef927bbca..62ff9438b 100644 --- a/src/docs/torque.md +++ b/src/docs/torque.md @@ -28,7 +28,7 @@ Next, open up `test/cctest/torque/test-torque.cc` and add the following test cas ```cpp TEST(HelloWorld) { Isolate* isolate(CcTest::InitIsolateOnce()); - CodeAssemblerTester asm_tester(isolate, 0); + CodeAssemblerTester asm_tester(isolate, JSParameterCount(0)); TestTorqueAssembler m(asm_tester.state()); { m.PrintHelloWorld();