diff options
Diffstat (limited to 'dx/tests/105-verify-load-store-ops')
44 files changed, 0 insertions, 1202 deletions
diff --git a/dx/tests/105-verify-load-store-ops/expected.txt b/dx/tests/105-verify-load-store-ops/expected.txt deleted file mode 100644 index 409ead07f..000000000 --- a/dx/tests/105-verify-load-store-ops/expected.txt +++ /dev/null @@ -1,82 +0,0 @@ -Generated: ./op_aaload.class -aaload: expected failure occurred -Generated: ./op_aastore.class -aastore: expected failure occurred -Generated: ./op_astore.class -astore: expected failure occurred -Generated: ./op_astore_0.class -astore_0: expected failure occurred -Generated: ./op_astore_1.class -astore_1: expected failure occurred -Generated: ./op_astore_2.class -astore_2: expected failure occurred -Generated: ./op_astore_3.class -astore_3: expected failure occurred -Generated: ./op_baload.class -baload: expected failure occurred -Generated: ./op_bastore.class -bastore: expected failure occurred -Generated: ./op_caload.class -caload: expected failure occurred -Generated: ./op_castore.class -castore: expected failure occurred -Generated: ./op_daload.class -daload: expected failure occurred -Generated: ./op_dastore.class -dastore: expected failure occurred -Generated: ./op_dstore.class -dstore: expected failure occurred -Generated: ./op_dstore_0.class -dstore_0: expected failure occurred -Generated: ./op_dstore_1.class -dstore_1: expected failure occurred -Generated: ./op_dstore_2.class -dstore_2: expected failure occurred -Generated: ./op_dstore_3.class -dstore_3: expected failure occurred -Generated: ./op_faload.class -faload: expected failure occurred -Generated: ./op_fastore.class -fastore: expected failure occurred -Generated: ./op_fstore.class -fstore: expected failure occurred -Generated: ./op_fstore_0.class -fstore_0: expected failure occurred -Generated: ./op_fstore_1.class -fstore_1: expected failure occurred -Generated: ./op_fstore_2.class -fstore_2: expected failure occurred -Generated: ./op_fstore_3.class -fstore_3: expected failure occurred -Generated: ./op_iaload.class -iaload: expected failure occurred -Generated: ./op_iastore.class -iastore: expected failure occurred -Generated: ./op_istore.class -istore: expected failure occurred -Generated: ./op_istore_0.class -istore_0: expected failure occurred -Generated: ./op_istore_1.class -istore_1: expected failure occurred -Generated: ./op_istore_2.class -istore_2: expected failure occurred -Generated: ./op_istore_3.class -istore_3: expected failure occurred -Generated: ./op_laload.class -laload: expected failure occurred -Generated: ./op_lastore.class -lastore: expected failure occurred -Generated: ./op_lstore.class -lstore: expected failure occurred -Generated: ./op_lstore_0.class -lstore_0: expected failure occurred -Generated: ./op_lstore_1.class -lstore_1: expected failure occurred -Generated: ./op_lstore_2.class -lstore_2: expected failure occurred -Generated: ./op_lstore_3.class -lstore_3: expected failure occurred -Generated: ./op_saload.class -saload: expected failure occurred -Generated: ./op_sastore.class -sastore: expected failure occurred diff --git a/dx/tests/105-verify-load-store-ops/info.txt b/dx/tests/105-verify-load-store-ops/info.txt deleted file mode 100644 index 85b731136..000000000 --- a/dx/tests/105-verify-load-store-ops/info.txt +++ /dev/null @@ -1,3 +0,0 @@ -This tests that load and store opcodes verify that their arguments are -actually of the appropriate types. - diff --git a/dx/tests/105-verify-load-store-ops/op_aaload.j b/dx/tests/105-verify-load-store-ops/op_aaload.j deleted file mode 100644 index f77827edd..000000000 --- a/dx/tests/105-verify-load-store-ops/op_aaload.j +++ /dev/null @@ -1,26 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_aaload -.super java/lang/Object - -.method public static test([F)V - .limit locals 2 - .limit stack 3 - - aload_0 - iconst_0 - aaload - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_aastore.j b/dx/tests/105-verify-load-store-ops/op_aastore.j deleted file mode 100644 index 58e1576b2..000000000 --- a/dx/tests/105-verify-load-store-ops/op_aastore.j +++ /dev/null @@ -1,27 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_aastore -.super java/lang/Object - -.method public static test([I)V - .limit locals 2 - .limit stack 4 - - aload_0 - iconst_0 - aconst_null - aastore - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_astore.j b/dx/tests/105-verify-load-store-ops/op_astore.j deleted file mode 100644 index 25131bf5e..000000000 --- a/dx/tests/105-verify-load-store-ops/op_astore.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_astore -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - astore 5 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_astore_0.j b/dx/tests/105-verify-load-store-ops/op_astore_0.j deleted file mode 100644 index b509c128d..000000000 --- a/dx/tests/105-verify-load-store-ops/op_astore_0.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_astore_0 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - astore_0 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_astore_1.j b/dx/tests/105-verify-load-store-ops/op_astore_1.j deleted file mode 100644 index a6c104322..000000000 --- a/dx/tests/105-verify-load-store-ops/op_astore_1.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_astore_1 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - astore_1 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_astore_2.j b/dx/tests/105-verify-load-store-ops/op_astore_2.j deleted file mode 100644 index cb84ee864..000000000 --- a/dx/tests/105-verify-load-store-ops/op_astore_2.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_astore_2 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - astore_2 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_astore_3.j b/dx/tests/105-verify-load-store-ops/op_astore_3.j deleted file mode 100644 index c716ba28b..000000000 --- a/dx/tests/105-verify-load-store-ops/op_astore_3.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_astore_3 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - astore_3 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_baload.j b/dx/tests/105-verify-load-store-ops/op_baload.j deleted file mode 100644 index cfcaf7434..000000000 --- a/dx/tests/105-verify-load-store-ops/op_baload.j +++ /dev/null @@ -1,26 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_baload -.super java/lang/Object - -.method public static test(F)V - .limit locals 2 - .limit stack 3 - - fload_0 - iconst_0 - baload - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_bastore.j b/dx/tests/105-verify-load-store-ops/op_bastore.j deleted file mode 100644 index 587fcd3f8..000000000 --- a/dx/tests/105-verify-load-store-ops/op_bastore.j +++ /dev/null @@ -1,27 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_bastore -.super java/lang/Object - -.method public static test(F)V - .limit locals 2 - .limit stack 4 - - fload_0 - iconst_0 - iconst_0 - bastore - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_caload.j b/dx/tests/105-verify-load-store-ops/op_caload.j deleted file mode 100644 index ceaf09faf..000000000 --- a/dx/tests/105-verify-load-store-ops/op_caload.j +++ /dev/null @@ -1,26 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_caload -.super java/lang/Object - -.method public static test(D)V - .limit locals 2 - .limit stack 3 - - dload_0 - iconst_0 - caload - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_castore.j b/dx/tests/105-verify-load-store-ops/op_castore.j deleted file mode 100644 index 5bd493e1a..000000000 --- a/dx/tests/105-verify-load-store-ops/op_castore.j +++ /dev/null @@ -1,27 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_castore -.super java/lang/Object - -.method public static test(F)V - .limit locals 2 - .limit stack 4 - - fload_0 - iconst_0 - iconst_0 - castore - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_daload.j b/dx/tests/105-verify-load-store-ops/op_daload.j deleted file mode 100644 index 895d6be64..000000000 --- a/dx/tests/105-verify-load-store-ops/op_daload.j +++ /dev/null @@ -1,26 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_daload -.super java/lang/Object - -.method public static test(F)V - .limit locals 2 - .limit stack 3 - - fload_0 - iconst_0 - daload - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_dastore.j b/dx/tests/105-verify-load-store-ops/op_dastore.j deleted file mode 100644 index b102f79c4..000000000 --- a/dx/tests/105-verify-load-store-ops/op_dastore.j +++ /dev/null @@ -1,27 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_dastore -.super java/lang/Object - -.method public static test(F)V - .limit locals 2 - .limit stack 4 - - fload_0 - iconst_0 - dconst_0 - dastore - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_dstore.j b/dx/tests/105-verify-load-store-ops/op_dstore.j deleted file mode 100644 index d656a84a5..000000000 --- a/dx/tests/105-verify-load-store-ops/op_dstore.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_dstore -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - dstore 5 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_dstore_0.j b/dx/tests/105-verify-load-store-ops/op_dstore_0.j deleted file mode 100644 index cb3da3af8..000000000 --- a/dx/tests/105-verify-load-store-ops/op_dstore_0.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_dstore_0 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - dstore_0 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_dstore_1.j b/dx/tests/105-verify-load-store-ops/op_dstore_1.j deleted file mode 100644 index 45fcf9bd4..000000000 --- a/dx/tests/105-verify-load-store-ops/op_dstore_1.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_dstore_1 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - dstore_1 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_dstore_2.j b/dx/tests/105-verify-load-store-ops/op_dstore_2.j deleted file mode 100644 index 7c167d44a..000000000 --- a/dx/tests/105-verify-load-store-ops/op_dstore_2.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_dstore_2 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - dstore_2 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_dstore_3.j b/dx/tests/105-verify-load-store-ops/op_dstore_3.j deleted file mode 100644 index 17222e056..000000000 --- a/dx/tests/105-verify-load-store-ops/op_dstore_3.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_dstore_3 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - dstore_3 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_faload.j b/dx/tests/105-verify-load-store-ops/op_faload.j deleted file mode 100644 index 1c17a8e93..000000000 --- a/dx/tests/105-verify-load-store-ops/op_faload.j +++ /dev/null @@ -1,26 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_faload -.super java/lang/Object - -.method public static test(F)V - .limit locals 2 - .limit stack 3 - - fload_0 - iconst_0 - faload - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_fastore.j b/dx/tests/105-verify-load-store-ops/op_fastore.j deleted file mode 100644 index 799555e3a..000000000 --- a/dx/tests/105-verify-load-store-ops/op_fastore.j +++ /dev/null @@ -1,27 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_fastore -.super java/lang/Object - -.method public static test(F)V - .limit locals 2 - .limit stack 4 - - fload_0 - iconst_0 - fconst_0 - fastore - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_fstore.j b/dx/tests/105-verify-load-store-ops/op_fstore.j deleted file mode 100644 index 5c61ebee7..000000000 --- a/dx/tests/105-verify-load-store-ops/op_fstore.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_fstore -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - iconst_0 - fstore 5 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_fstore_0.j b/dx/tests/105-verify-load-store-ops/op_fstore_0.j deleted file mode 100644 index d3033e943..000000000 --- a/dx/tests/105-verify-load-store-ops/op_fstore_0.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_fstore_0 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - iconst_0 - fstore_0 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_fstore_1.j b/dx/tests/105-verify-load-store-ops/op_fstore_1.j deleted file mode 100644 index 0abca8f5f..000000000 --- a/dx/tests/105-verify-load-store-ops/op_fstore_1.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_fstore_1 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - iconst_0 - fstore_1 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_fstore_2.j b/dx/tests/105-verify-load-store-ops/op_fstore_2.j deleted file mode 100644 index 5cd1ebc10..000000000 --- a/dx/tests/105-verify-load-store-ops/op_fstore_2.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_fstore_2 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - iconst_0 - fstore_2 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_fstore_3.j b/dx/tests/105-verify-load-store-ops/op_fstore_3.j deleted file mode 100644 index a232307be..000000000 --- a/dx/tests/105-verify-load-store-ops/op_fstore_3.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_fstore_3 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - iconst_0 - fstore_3 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_iaload.j b/dx/tests/105-verify-load-store-ops/op_iaload.j deleted file mode 100644 index 3face0855..000000000 --- a/dx/tests/105-verify-load-store-ops/op_iaload.j +++ /dev/null @@ -1,26 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_iaload -.super java/lang/Object - -.method public static test(F)V - .limit locals 2 - .limit stack 3 - - fload_0 - iconst_0 - iaload - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_iastore.j b/dx/tests/105-verify-load-store-ops/op_iastore.j deleted file mode 100644 index d090e37c7..000000000 --- a/dx/tests/105-verify-load-store-ops/op_iastore.j +++ /dev/null @@ -1,27 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_iastore -.super java/lang/Object - -.method public static test(F)V - .limit locals 2 - .limit stack 4 - - fload_0 - iconst_0 - iconst_0 - iastore - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_istore.j b/dx/tests/105-verify-load-store-ops/op_istore.j deleted file mode 100644 index 138d709f2..000000000 --- a/dx/tests/105-verify-load-store-ops/op_istore.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_istore -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - istore 5 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_istore_0.j b/dx/tests/105-verify-load-store-ops/op_istore_0.j deleted file mode 100644 index 2644c3dfb..000000000 --- a/dx/tests/105-verify-load-store-ops/op_istore_0.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_istore_0 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - istore_0 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_istore_1.j b/dx/tests/105-verify-load-store-ops/op_istore_1.j deleted file mode 100644 index 03534eecc..000000000 --- a/dx/tests/105-verify-load-store-ops/op_istore_1.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_istore_1 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - istore_1 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_istore_2.j b/dx/tests/105-verify-load-store-ops/op_istore_2.j deleted file mode 100644 index e1a80b30c..000000000 --- a/dx/tests/105-verify-load-store-ops/op_istore_2.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_istore_2 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - istore_2 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_istore_3.j b/dx/tests/105-verify-load-store-ops/op_istore_3.j deleted file mode 100644 index 43c226fdf..000000000 --- a/dx/tests/105-verify-load-store-ops/op_istore_3.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_istore_3 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - istore_3 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_laload.j b/dx/tests/105-verify-load-store-ops/op_laload.j deleted file mode 100644 index 314360466..000000000 --- a/dx/tests/105-verify-load-store-ops/op_laload.j +++ /dev/null @@ -1,26 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_laload -.super java/lang/Object - -.method public static test(F)V - .limit locals 2 - .limit stack 3 - - fload_0 - iconst_0 - laload - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_lastore.j b/dx/tests/105-verify-load-store-ops/op_lastore.j deleted file mode 100644 index b7ea069a4..000000000 --- a/dx/tests/105-verify-load-store-ops/op_lastore.j +++ /dev/null @@ -1,27 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_lastore -.super java/lang/Object - -.method public static test(F)V - .limit locals 2 - .limit stack 4 - - fload_0 - iconst_0 - lconst_0 - lastore - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_lstore.j b/dx/tests/105-verify-load-store-ops/op_lstore.j deleted file mode 100644 index fde69748b..000000000 --- a/dx/tests/105-verify-load-store-ops/op_lstore.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_lstore -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - lstore 5 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_lstore_0.j b/dx/tests/105-verify-load-store-ops/op_lstore_0.j deleted file mode 100644 index e98eab42b..000000000 --- a/dx/tests/105-verify-load-store-ops/op_lstore_0.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_lstore_0 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - lstore_0 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_lstore_1.j b/dx/tests/105-verify-load-store-ops/op_lstore_1.j deleted file mode 100644 index 0e2291aff..000000000 --- a/dx/tests/105-verify-load-store-ops/op_lstore_1.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_lstore_1 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - lstore_1 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_lstore_2.j b/dx/tests/105-verify-load-store-ops/op_lstore_2.j deleted file mode 100644 index a84702dde..000000000 --- a/dx/tests/105-verify-load-store-ops/op_lstore_2.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_lstore_2 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - dconst_0 - lstore_2 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_lstore_3.j b/dx/tests/105-verify-load-store-ops/op_lstore_3.j deleted file mode 100644 index c35ace8e4..000000000 --- a/dx/tests/105-verify-load-store-ops/op_lstore_3.j +++ /dev/null @@ -1,25 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_lstore_3 -.super java/lang/Object - -.method public static test(F)V - .limit locals 6 - .limit stack 4 - - fconst_0 - lstore_3 - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_saload.j b/dx/tests/105-verify-load-store-ops/op_saload.j deleted file mode 100644 index 4a809397a..000000000 --- a/dx/tests/105-verify-load-store-ops/op_saload.j +++ /dev/null @@ -1,26 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_saload -.super java/lang/Object - -.method public static test(F)V - .limit locals 2 - .limit stack 3 - - fload_0 - iconst_0 - saload - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/op_sastore.j b/dx/tests/105-verify-load-store-ops/op_sastore.j deleted file mode 100644 index c97dd66e0..000000000 --- a/dx/tests/105-verify-load-store-ops/op_sastore.j +++ /dev/null @@ -1,27 +0,0 @@ -; Copyright (C) 2008 The Android Open Source Project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. - -.class op_sastore -.super java/lang/Object - -.method public static test(F)V - .limit locals 2 - .limit stack 4 - - fload_0 - iconst_0 - iconst_0 - sastore - return -.end method diff --git a/dx/tests/105-verify-load-store-ops/run b/dx/tests/105-verify-load-store-ops/run deleted file mode 100644 index adf987c3a..000000000 --- a/dx/tests/105-verify-load-store-ops/run +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/bash -# -# Copyright (C) 2007 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -function oneop() -{ - jasmin -d . op_"$1".j - dx --debug --dex op_"$1".class >/dev/null 2>&1 - if [ "$?" = "0" ]; then - dx --debug --dex --dump-method="op_$1.test*" op_"$1".class - else - echo "$1: expected failure occurred" - fi -} - -oneop aaload -oneop aastore -oneop astore -oneop astore_0 -oneop astore_1 -oneop astore_2 -oneop astore_3 -oneop baload -oneop bastore -oneop caload -oneop castore -oneop daload -oneop dastore -oneop dstore -oneop dstore_0 -oneop dstore_1 -oneop dstore_2 -oneop dstore_3 -oneop faload -oneop fastore -oneop fstore -oneop fstore_0 -oneop fstore_1 -oneop fstore_2 -oneop fstore_3 -oneop iaload -oneop iastore -oneop istore -oneop istore_0 -oneop istore_1 -oneop istore_2 -oneop istore_3 -oneop laload -oneop lastore -oneop lstore -oneop lstore_0 -oneop lstore_1 -oneop lstore_2 -oneop lstore_3 -oneop saload -oneop sastore |