*/
-
#include "config.h"
-#include "mm/memory.h"
+#include "mm/memory.hpp"
#include "vm/jit/code.hpp"
#include "vm/jit/oprofile-agent.hpp"
{
_handle = op_open_agent();
if (!_handle)
- vm_abort_errno("unable to open opagent handle:");
+ os::abort_errno("unable to open opagent handle");
}
/**
_handle = 0;
}
-/* Legacy C interface *********************************************************/
-
-extern "C" {
-
-void OprofileAgent_initialize() { OprofileAgent::initialize(); }
-void OprofileAgent_newmethod(methodinfo *m) { OprofileAgent::newmethod(m); }
-void OprofileAgent_close() { OprofileAgent::close(); }
-
-}
/*
* These are local overrides for various environment variables in Emacs.