Skip to content

Commit c899040

Browse files
Update torque.md (#743)
asm_tester 2nd argument changed to JSParameterCount(0) instead of 0 Co-authored-by: Camillo Bruni <[email protected]>
1 parent 0fe4dac commit c899040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/torque.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Next, open up `test/cctest/torque/test-torque.cc` and add the following test cas
2828
```cpp
2929
TEST(HelloWorld) {
3030
Isolate* isolate(CcTest::InitIsolateOnce());
31-
CodeAssemblerTester asm_tester(isolate, 0);
31+
CodeAssemblerTester asm_tester(isolate, JSParameterCount(0));
3232
TestTorqueAssembler m(asm_tester.state());
3333
{
3434
m.PrintHelloWorld();

0 commit comments

Comments
 (0)