Include debug.h in various treeops headers

Avoids compile failure if the UNREACHABLE is used due to compile
flags.

Bug: angleproject:7987
Change-Id: I4655b345648b6b56faaa42030fb8997184c6b7e8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4205890
Commit-Queue: Kimmo Kinnunen <kkinnunen@apple.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Auto-Submit: Kimmo Kinnunen <kkinnunen@apple.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
diff --git a/src/compiler/translator/tree_ops/apple/AddAndTrueToLoopCondition.h b/src/compiler/translator/tree_ops/apple/AddAndTrueToLoopCondition.h
index d23158e..1e4caf1 100644
--- a/src/compiler/translator/tree_ops/apple/AddAndTrueToLoopCondition.h
+++ b/src/compiler/translator/tree_ops/apple/AddAndTrueToLoopCondition.h
@@ -10,6 +10,7 @@
 #define COMPILER_TRANSLATOR_TREEOPS_APPLE_ADDANDTRUETOLOOPCONDITION_H_
 
 #include "common/angleutils.h"
+#include "common/debug.h"
 
 namespace sh
 {
diff --git a/src/compiler/translator/tree_ops/apple/RewriteDoWhile.h b/src/compiler/translator/tree_ops/apple/RewriteDoWhile.h
index 71bdc88..067b000 100644
--- a/src/compiler/translator/tree_ops/apple/RewriteDoWhile.h
+++ b/src/compiler/translator/tree_ops/apple/RewriteDoWhile.h
@@ -11,6 +11,7 @@
 #define COMPILER_TRANSLATOR_TREEOPS_APPLE_REWRITEDOWHILE_H_
 
 #include "common/angleutils.h"
+#include "common/debug.h"
 
 namespace sh
 {
diff --git a/src/compiler/translator/tree_ops/apple/RewriteRowMajorMatrices.h b/src/compiler/translator/tree_ops/apple/RewriteRowMajorMatrices.h
index 2f35772..d20f1cb 100644
--- a/src/compiler/translator/tree_ops/apple/RewriteRowMajorMatrices.h
+++ b/src/compiler/translator/tree_ops/apple/RewriteRowMajorMatrices.h
@@ -10,6 +10,7 @@
 #define COMPILER_TRANSLATOR_TREEOPS_APPLE_REWRITEROWMAJORMATRICES_H_
 
 #include "common/angleutils.h"
+#include "common/debug.h"
 
 namespace sh
 {
diff --git a/src/compiler/translator/tree_ops/apple/RewriteUnaryMinusOperatorFloat.h b/src/compiler/translator/tree_ops/apple/RewriteUnaryMinusOperatorFloat.h
index 30c4d25..8d3b054 100644
--- a/src/compiler/translator/tree_ops/apple/RewriteUnaryMinusOperatorFloat.h
+++ b/src/compiler/translator/tree_ops/apple/RewriteUnaryMinusOperatorFloat.h
@@ -9,6 +9,7 @@
 #define COMPILER_TRANSLATOR_TREEOPS_APPLE_REWRITEUNARYMINUSOPERATORFLOAT_H_
 
 #include "common/angleutils.h"
+#include "common/debug.h"
 
 namespace sh
 {
diff --git a/src/compiler/translator/tree_ops/apple/UnfoldShortCircuitAST.h b/src/compiler/translator/tree_ops/apple/UnfoldShortCircuitAST.h
index 648c719..101e04c 100644
--- a/src/compiler/translator/tree_ops/apple/UnfoldShortCircuitAST.h
+++ b/src/compiler/translator/tree_ops/apple/UnfoldShortCircuitAST.h
@@ -11,6 +11,7 @@
 #define COMPILER_TRANSLATOR_TREEOPS_APPLE_UNFOLDSHORTCIRCUITAST_H_
 
 #include "common/angleutils.h"
+#include "common/debug.h"
 
 namespace sh
 {
diff --git a/src/compiler/translator/tree_ops/gl/ClampFragDepth.h b/src/compiler/translator/tree_ops/gl/ClampFragDepth.h
index 70326c9..1d32bd4 100644
--- a/src/compiler/translator/tree_ops/gl/ClampFragDepth.h
+++ b/src/compiler/translator/tree_ops/gl/ClampFragDepth.h
@@ -12,6 +12,7 @@
 #define COMPILER_TRANSLATOR_TREEOPS_GL_CLAMPFRAGDEPTH_H_
 
 #include "common/angleutils.h"
+#include "common/debug.h"
 
 namespace sh
 {
diff --git a/src/compiler/translator/tree_ops/gl/RegenerateStructNames.h b/src/compiler/translator/tree_ops/gl/RegenerateStructNames.h
index 04cfe6a..9b65a71 100644
--- a/src/compiler/translator/tree_ops/gl/RegenerateStructNames.h
+++ b/src/compiler/translator/tree_ops/gl/RegenerateStructNames.h
@@ -8,6 +8,7 @@
 #define COMPILER_TRANSLATOR_TREEOPS_GL_REGENERATESTRUCTNAMES_H_
 
 #include "common/angleutils.h"
+#include "common/debug.h"
 
 namespace sh
 {
diff --git a/src/compiler/translator/tree_ops/gl/RewriteRepeatedAssignToSwizzled.h b/src/compiler/translator/tree_ops/gl/RewriteRepeatedAssignToSwizzled.h
index 1ab9b7e..199451b 100644
--- a/src/compiler/translator/tree_ops/gl/RewriteRepeatedAssignToSwizzled.h
+++ b/src/compiler/translator/tree_ops/gl/RewriteRepeatedAssignToSwizzled.h
@@ -17,6 +17,7 @@
 #define COMPILER_TRANSLATOR_TREEOPS_GL_REWRITEREPEATEDASSIGNTOSWIZZLED_H_
 
 #include "common/angleutils.h"
+#include "common/debug.h"
 
 namespace sh
 {
diff --git a/src/compiler/translator/tree_ops/gl/UseInterfaceBlockFields.h b/src/compiler/translator/tree_ops/gl/UseInterfaceBlockFields.h
index a4f5f3e..e8c806d 100644
--- a/src/compiler/translator/tree_ops/gl/UseInterfaceBlockFields.h
+++ b/src/compiler/translator/tree_ops/gl/UseInterfaceBlockFields.h
@@ -13,6 +13,7 @@
 
 #include <GLSLANG/ShaderLang.h>
 #include "common/angleutils.h"
+#include "common/debug.h"
 
 namespace sh
 {