Index: runtime/vm/unit_test.h |
diff --git a/runtime/vm/unit_test.h b/runtime/vm/unit_test.h |
index e023ae9e8ac53a4f2aad7a8ac49266f5d23f7234..16c6303af50c29c638df2768c38e404e5fbb2a5f 100644 |
--- a/runtime/vm/unit_test.h |
+++ b/runtime/vm/unit_test.h |
@@ -229,6 +229,9 @@ |
#endif // defined(HOST_ARCH_ARM) |
#endif // defined(TARGET_ARCH_{ARM, ARM64}) |
+#define ZONE_STR(FMT, ...) \ |
+ OS::SCreate(Thread::Current()->zone(), FMT, __VA_ARGS__) |
+ |
inline Dart_Handle NewString(const char* str) { |
return Dart_NewStringFromCString(str); |
} |