Revert "Added dead variable / code elimination to skslc."
authorEthan Nicholas <ethannicholas@google.com>
Mon, 6 Feb 2017 18:53:07 +0000 (18:53 +0000)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 6 Feb 2017 19:25:13 +0000 (19:25 +0000)
commite1d9cb82bf9004eb05831f34bb3e9e708ae0617f
tree51bab2d2dbd178e95d4906e06fd294254a33106e
parenta84898dbb8d8f7cb8c3e9bdfb4c31d85dff1922f
Revert "Added dead variable / code elimination to skslc."

This reverts commit 113628d76176a1ab3e6719c59efff23cd10ab213.

Reason for revert: Looks to have caused https://bugs.chromium.org/p/chromium/issues/detail?id=688939

Original change's description:
> Added dead variable / code elimination to skslc.
>
> BUG=skia:
>
> Change-Id: Ib037730803a8f222f099de0e001fe06ad452a22c
> Reviewed-on: https://skia-review.googlesource.com/7584
> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
> Reviewed-by: Ben Wagner <benjaminwagner@google.com>
>

TBR=egdaniel@google.com,benjaminwagner@google.com,ethannicholas@google.com,reviews@skia.org
# Not skipping CQ checks because original CL landed > 1 day ago.
BUG=skia:

Change-Id: I85599e4ca2bc6bfd782edc163f67b64195d6ae65
Reviewed-on: https://skia-review.googlesource.com/8077
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
37 files changed:
src/sksl/SkSLCFGGenerator.cpp
src/sksl/SkSLCFGGenerator.h
src/sksl/SkSLCompiler.cpp
src/sksl/SkSLCompiler.h
src/sksl/SkSLContext.h
src/sksl/SkSLGLSLCodeGenerator.cpp
src/sksl/SkSLGLSLCodeGenerator.h
src/sksl/SkSLIRGenerator.cpp
src/sksl/SkSLSPIRVCodeGenerator.cpp
src/sksl/ir/SkSLBinaryExpression.h
src/sksl/ir/SkSLBlock.h
src/sksl/ir/SkSLBoolLiteral.h
src/sksl/ir/SkSLConstructor.h
src/sksl/ir/SkSLDoStatement.h
src/sksl/ir/SkSLExpression.h
src/sksl/ir/SkSLFieldAccess.h
src/sksl/ir/SkSLFloatLiteral.h
src/sksl/ir/SkSLForStatement.h
src/sksl/ir/SkSLFunctionCall.h
src/sksl/ir/SkSLFunctionDefinition.h
src/sksl/ir/SkSLFunctionReference.h
src/sksl/ir/SkSLIfStatement.h
src/sksl/ir/SkSLIndexExpression.h
src/sksl/ir/SkSLIntLiteral.h
src/sksl/ir/SkSLNop.h [deleted file]
src/sksl/ir/SkSLPostfixExpression.h
src/sksl/ir/SkSLPrefixExpression.h
src/sksl/ir/SkSLStatement.h
src/sksl/ir/SkSLSwizzle.h
src/sksl/ir/SkSLTernaryExpression.h
src/sksl/ir/SkSLTypeReference.h
src/sksl/ir/SkSLUnresolvedFunction.h
src/sksl/ir/SkSLVarDeclarations.h
src/sksl/ir/SkSLVariable.h
src/sksl/ir/SkSLVariableReference.h
src/sksl/ir/SkSLWhileStatement.h
tests/SkSLGLSLTest.cpp