Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 09cb9405be41a69a0247c14b7d1aff4d03c20b95..fd2c1c79780ab8b0ce5d1cee6662b2e06e235676 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -640,7 +640,7 @@ class V8_EXPORT_PRIVATE Factory final { |
DECLARE_ERROR(TypeError) |
DECLARE_ERROR(WasmCompileError) |
DECLARE_ERROR(WasmRuntimeError) |
-#undef DEFINE_ERROR |
+#undef DECLARE_ERROR |
Handle<String> NumberToString(Handle<Object> number, |
bool check_number_string_cache = true); |