diff options
author | Laurent Le Brun <laurentlb@google.com> | 2017-01-20 16:15:49 +0000 |
---|---|---|
committer | Laszlo Csomor <laszlocsomor@google.com> | 2017-01-23 09:50:05 +0000 |
commit | ea78fbe047853642592ae5d4ac1acdb8200760ae (patch) | |
tree | 3ba3a5b3dfca432683fcf8abe67a2a07bc934547 /src/main/java/com/google/devtools/build/lib/syntax/Expression.java | |
parent | 9c390fbe4acee09c75034b94553deef7870df5a3 (diff) |
Delete the bytecode compiler experiment.
The code has been untouched and unused for over a year (it's very likely
broken) and we have other priorities for now.
--
PiperOrigin-RevId: 145087310
MOS_MIGRATED_REVID=145087310
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/syntax/Expression.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/syntax/Expression.java | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/Expression.java b/src/main/java/com/google/devtools/build/lib/syntax/Expression.java index 295db4a9ea..a6a1e5ad6f 100644 --- a/src/main/java/com/google/devtools/build/lib/syntax/Expression.java +++ b/src/main/java/com/google/devtools/build/lib/syntax/Expression.java @@ -13,11 +13,6 @@ // limitations under the License. package com.google.devtools.build.lib.syntax; -import com.google.devtools.build.lib.syntax.compiler.DebugInfo; -import com.google.devtools.build.lib.syntax.compiler.VariableScope; - -import net.bytebuddy.implementation.bytecode.ByteCodeAppender; - /** * Base class for all expression nodes in the AST. */ @@ -71,15 +66,4 @@ public abstract class Expression extends ASTNode { * @see Statement */ abstract void validate(ValidationEnvironment env) throws EvalException; - - /** - * Builds a {@link ByteCodeAppender} that implements this expression by consuming its operands - * from the byte code stack and pushing its result. - * - * @throws EvalException for any error that would have occurred during evaluation of the - * function definition that contains this statement, e.g. type errors. - */ - ByteCodeAppender compile(VariableScope scope, DebugInfo debugInfo) throws EvalException { - throw new UnsupportedOperationException(this.getClass().getSimpleName() + " unsupported."); - } } |