Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index ae493483582fd32d43d80d2666f70d1a92bf1860..111d8cfe094c84b5a2cda525d73c1f76255ad9d5 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -23,6 +23,9 @@ declare_args() { |
# Sets -DVERIFY_HEAP. |
v8_enable_verify_heap = false |
+ # Sets -DVERIFY_PREDICTABLE |
+ v8_enable_verify_predictable = false |
+ |
# Enable compiler warnings when using V8_DEPRECATED apis. |
v8_deprecation_warnings = false |
@@ -183,6 +186,9 @@ config("features") { |
if (v8_enable_verify_heap) { |
defines += [ "VERIFY_HEAP" ] |
} |
+ if (v8_enable_verify_predictable) { |
+ defines += [ "VERIFY_PREDICTABLE" ] |
+ } |
if (v8_interpreted_regexp) { |
defines += [ "V8_INTERPRETED_REGEXP" ] |
} |