libdeno: remove dead code
#include "deno.h"
#include "internal.h"
-void hexdump(const uint8_t* buf, size_t len) {
- for (size_t i = 0; i < len; ++i) {
- char ch = buf[i];
- printf("%02x ", ch & 0xff);
- }
- printf("\n");
-}
-
namespace deno {
Deno* FromIsolate(v8::Isolate* isolate) {
@@ -145,20 +137,6 @@ void HandleException(v8::Local<v8::Context> context,
}
}
-/*
-bool AbortOnUncaughtExceptionCallback(v8::Isolate* isolate) {
- return true;
-}
-
-void MessageCallback2(Local<Message> message, v8::Local<v8::Value> data) {
- printf("MessageCallback2\n\n");
-}
-
-void FatalErrorCallback2(const char* location, const char* message) {
- printf("FatalErrorCallback2\n");
-}
-*/
-
void ExitOnPromiseRejectCallback(
v8::PromiseRejectMessage promise_reject_message) {
auto* isolate = v8::Isolate::GetCurrent();
