diff options
Diffstat (limited to 'deps/v8/test/wasm-api-tests/callbacks.cc')
-rw-r--r-- | deps/v8/test/wasm-api-tests/callbacks.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/wasm-api-tests/callbacks.cc b/deps/v8/test/wasm-api-tests/callbacks.cc index 350a425d474..8d53b767bd1 100644 --- a/deps/v8/test/wasm-api-tests/callbacks.cc +++ b/deps/v8/test/wasm-api-tests/callbacks.cc @@ -31,8 +31,8 @@ own<Trap> Stage4_GC(void* env, const Val args[], Val results[]) { printf("Stage4...\n"); i::Isolate* isolate = reinterpret_cast<i::Isolate*>(env); isolate->heap()->PreciseCollectAllGarbage( - i::Heap::kNoGCFlags, i::GarbageCollectionReason::kTesting, - v8::kGCCallbackFlagForced); + i::Heap::kForcedGC, i::GarbageCollectionReason::kTesting, + v8::kNoGCCallbackFlags); results[0] = Val::i32(args[0].i32() + 1); return nullptr; } |