summaryrefslogtreecommitdiff
path: root/src/inc
diff options
context:
space:
mode:
authorBrian Sullivan <briansul@microsoft.com>2017-07-12 15:38:15 -0700
committerBrian Sullivan <briansul@microsoft.com>2017-07-12 15:38:15 -0700
commitc1a182c3e5ffb402c17d4047550ee97f0d7af041 (patch)
tree5335becd9e0ab11016643ddfc8d04da540d63e77 /src/inc
parentb2dab782c81b1e3ef2ab204ed4ce9fbec4f3b7fd (diff)
downloadcoreclr-c1a182c3e5ffb402c17d4047550ee97f0d7af041.tar.gz
coreclr-c1a182c3e5ffb402c17d4047550ee97f0d7af041.tar.bz2
coreclr-c1a182c3e5ffb402c17d4047550ee97f0d7af041.zip
Improvements in the Zapper to VM interface, no longer throw exceptions across the interface.
Catch the exception on the VM side of the interface call and report the error to the zapper using an Error() function call rather than letting the exception go across tyhe interface call. The interface methods LoadIBCTypeHelper and LoadIBCMethodHelper no longer need a ThrowsViolation in their contracts. Instead oif using BAD_FORMAT exceptions for a failures to load IBC data type and methods, we now throw TypeLoad exception.
Diffstat (limited to 'src/inc')
-rw-r--r--src/inc/corcompile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inc/corcompile.h b/src/inc/corcompile.h
index d7ac28d89f..31bf213d41 100644
--- a/src/inc/corcompile.h
+++ b/src/inc/corcompile.h
@@ -1156,12 +1156,12 @@ class ICorCompilePreloader
// If the class or method is generic, instantiate all parameters with <object>
virtual CORINFO_METHOD_HANDLE LookupMethodDef(mdMethodDef token) = 0;
+ // For the given ftnHnd fill in the methInfo structure and return true if successful.
+ virtual bool GetMethodInfo(mdMethodDef token, CORINFO_METHOD_HANDLE ftnHnd, CORINFO_METHOD_INFO * methInfo) = 0;
+
// Returns region that the IL should be emitted in
virtual CorCompileILRegion GetILRegion(mdMethodDef token) = 0;
- // Find the (parameterized) type for the given blob from the profile data
- virtual CORINFO_CLASS_HANDLE FindTypeForProfileEntry(CORBBTPROF_BLOB_PARAM_SIG_ENTRY * profileBlobEntry) = 0;
-
// Find the (parameterized) method for the given blob from the profile data
virtual CORINFO_METHOD_HANDLE FindMethodForProfileEntry(CORBBTPROF_BLOB_PARAM_SIG_ENTRY * profileBlobEntry) = 0;