#include "src/interpreter/handler-table-builder.h"
#include "src/execution/isolate.h"
#include "src/heap/factory.h"
#include "src/interpreter/bytecode-register.h"
#include "src/objects/objects-inl.h"
namespace v8 {
namespace internal {
namespace interpreter {
HandlerTableBuilder::HandlerTableBuilder(Zone* zone) : … { … }
template <typename IsolateT>
Handle<TrustedByteArray> HandlerTableBuilder::ToHandlerTable(
IsolateT* isolate) { … }
template Handle<TrustedByteArray> HandlerTableBuilder::ToHandlerTable(
Isolate* isolate);
template Handle<TrustedByteArray> HandlerTableBuilder::ToHandlerTable(
LocalIsolate* isolate);
int HandlerTableBuilder::NewHandlerEntry() { … }
void HandlerTableBuilder::SetTryRegionStart(int handler_id, size_t offset) { … }
void HandlerTableBuilder::SetTryRegionEnd(int handler_id, size_t offset) { … }
void HandlerTableBuilder::SetHandlerTarget(int handler_id, size_t offset) { … }
void HandlerTableBuilder::SetPrediction(
int handler_id, HandlerTable::CatchPrediction prediction) { … }
void HandlerTableBuilder::SetContextRegister(int handler_id, Register reg) { … }
}
}
}