diff options
author | 2016-10-13 10:25:54 +0100 | |
---|---|---|
committer | 2016-12-02 10:09:40 +0000 | |
commit | cfa325e4ca65603fdb03a836a6cb394d23ed511f (patch) | |
tree | f14e628cc90f7b03f8f227a30361993f3f594f11 /runtime/interpreter/interpreter_common.cc | |
parent | 35b6546b0a4fe423ed6f27d8c5b709d5191e99ef (diff) |
ART: Add verifier support for invoke-polymorphic.
Change-Id: I1e1860cad80db46320c3ef5a9eaceb7529ea68d7
Bug: 30550796,33099829,33191712
Test: make test-art-host
Diffstat (limited to 'runtime/interpreter/interpreter_common.cc')
-rw-r--r-- | runtime/interpreter/interpreter_common.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/runtime/interpreter/interpreter_common.cc b/runtime/interpreter/interpreter_common.cc index 72dbe6aace..22da07dd24 100644 --- a/runtime/interpreter/interpreter_common.cc +++ b/runtime/interpreter/interpreter_common.cc @@ -865,11 +865,6 @@ inline bool DoInvokePolymorphic(Thread* self, // The invoke_method_idx here is the name of the signature polymorphic method that // was symbolically invoked in bytecode (say MethodHandle.invoke or MethodHandle.invokeExact) // and not the method that we'll dispatch to in the end. - // - // TODO(narayan) We'll have to check in the verifier that this is in fact a - // signature polymorphic method so that we disallow calls via invoke-polymorphic - // to non sig-poly methods. This would also have the side effect of verifying - // that vRegC really is a reference type. StackHandleScope<6> hs(self); Handle<mirror::MethodHandleImpl> method_handle(hs.NewHandle( ObjPtr<mirror::MethodHandleImpl>::DownCast( |