aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/syntax/compiler
diff options
context:
space:
mode:
authorGravatar Carmi Grushko <carmi@google.com>2016-02-01 18:39:42 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-02-02 14:57:35 +0000
commitd5ef2b4956619c44c9d17ac097857508e4d53b40 (patch)
treee51de7e9541fa1eb346fe5a9876ca5b61ccd7cdf /src/main/java/com/google/devtools/build/lib/syntax/compiler
parentdccd81fe23111818d63a61d882f65a8b412de4e2 (diff)
*** Reason for rollback *** Breaks many targets, see [] *** Original change description *** Reinstate mutable SkylarkDict Add <String, Object> annotation to optionMap invocation in SkylarkAttr, to make JDK 1.7 happy. Give the visible name "aspect" to class SkylarkAspect. -- MOS_MIGRATED_REVID=113543873
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/syntax/compiler')
-rw-r--r--src/main/java/com/google/devtools/build/lib/syntax/compiler/ByteCodeMethodCalls.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/compiler/ByteCodeMethodCalls.java b/src/main/java/com/google/devtools/build/lib/syntax/compiler/ByteCodeMethodCalls.java
index 28bd503ed5..55e9cc1bf6 100644
--- a/src/main/java/com/google/devtools/build/lib/syntax/compiler/ByteCodeMethodCalls.java
+++ b/src/main/java/com/google/devtools/build/lib/syntax/compiler/ByteCodeMethodCalls.java
@@ -15,9 +15,6 @@ package com.google.devtools.build.lib.syntax.compiler;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
-import com.google.devtools.build.lib.events.Location;
-import com.google.devtools.build.lib.syntax.Environment;
-import com.google.devtools.build.lib.syntax.SkylarkDict;
import net.bytebuddy.implementation.bytecode.StackManipulation;
@@ -74,21 +71,6 @@ public class ByteCodeMethodCalls {
}
/**
- * Byte code invocations for {@link SkylarkDict}.
- */
- public static class BCSkylarkDict {
- public static final StackManipulation of =
- ByteCodeUtils.invoke(SkylarkDict.class, "of", Environment.class);
-
- public static final StackManipulation copyOf =
- ByteCodeUtils.invoke(SkylarkDict.class, "copyOf", Environment.class, Map.class);
-
- public static final StackManipulation put =
- ByteCodeUtils.invoke(SkylarkDict.class, "put",
- Object.class, Object.class, Location.class, Environment.class);
- }
-
- /**
* Byte code invocations for {@link ImmutableList}.
*/
public static class BCImmutableList {