Fix compiler typo in compiledump.py
R=ricow@google.com
Change-Id: I6f4ecc0898637558f17b63e040e89d9551b39440
diff --git a/tools/compiledump.py b/tools/compiledump.py
index 600efed..684be7f 100755
--- a/tools/compiledump.py
+++ b/tools/compiledump.py
@@ -661,7 +661,7 @@
cmd.append('com.android.tools.r8.tracereferences.TraceReferences')
cmd.extend(
determine_trace_references_commands(build_properties, out))
- if is_r8_compiler('r8'):
+ if is_r8_compiler(compiler):
prepare_r8_wrapper(jar, temp, jdkhome)
cmd.append('com.android.tools.r8.utils.CompileDumpCompatR8')
if compiler == 'r8':