|
@@ -53,6 +53,9 @@ class ModelverseJit(object):
|
|
|
|
|
|
def try_jit(self, body_id, parameter_list):
|
|
|
"""Tries to jit the function defined by the given entry point id and parameter list."""
|
|
|
+ # The comment below makes pylint shut up about our (hopefully benign) use of exec here.
|
|
|
+ # pylint: disable=I0011,W0122
|
|
|
+
|
|
|
if body_id in self.jitted_entry_points:
|
|
|
# We have already compiled this function.
|
|
|
raise primitive_functions.PrimitiveFinished(self.jitted_entry_points[body_id])
|