Index: src/runtime/runtime-test.cc |
diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc |
index 21cfcd7911a31dcb5eff976575243d4ec232bc2a..2a34d9c03130ba3a9784c5eeaa6bca6a76feb132 100644 |
--- a/src/runtime/runtime-test.cc |
+++ b/src/runtime/runtime-test.cc |
@@ -948,5 +948,14 @@ RUNTIME_FUNCTION(Runtime_WasmNumInterpretedCalls) { |
return *isolate->factory()->NewNumberFromSize(static_cast<size_t>(num)); |
} |
+RUNTIME_FUNCTION(Runtime_IncrementWaitCount) { |
+ isolate->IncrementWaitCountForTesting(); |
+ return isolate->heap()->undefined_value(); |
+} |
+ |
+RUNTIME_FUNCTION(Runtime_DecrementWaitCount) { |
+ isolate->DecrementWaitCountForTesting(); |
+ return isolate->heap()->undefined_value(); |
+} |
} // namespace internal |
} // namespace v8 |