Home
last modified time | relevance | path

Searched refs:HandlerTable (Results 1 - 25 of 27) sorted by relevance

12

/third_party/node/deps/v8/src/codegen/
H A Dhandler-table.cc22 HandlerTable::HandlerTable(Code code) in HandlerTable() function in v8::internal::HandlerTable
23 : HandlerTable(code.HandlerTableAddress(), code.handler_table_size(), in HandlerTable()
27 HandlerTable::HandlerTable(const wasm::WasmCode* code) in HandlerTable() function in v8::internal::HandlerTable
28 : HandlerTable(code->handler_table(), code->handler_table_size(), in HandlerTable()
32 HandlerTable::HandlerTable(BytecodeArray bytecode_array) in HandlerTable() function in v8::internal::HandlerTable
33 : HandlerTable(bytecode_array.handler_table()) {} in HandlerTable()
35 HandlerTable function in v8::internal::HandlerTable
39 HandlerTable::HandlerTable(Address handler_table, int handler_table_size, HandlerTable() function in v8::internal::HandlerTable
[all...]
H A Dhandler-table.h23 // HandlerTable is a byte array containing entries for exception handlers in
34 class V8_EXPORT_PRIVATE HandlerTable { class
55 explicit HandlerTable(Code code);
56 explicit HandlerTable(ByteArray byte_array);
58 explicit HandlerTable(const wasm::WasmCode* code);
60 explicit HandlerTable(BytecodeArray bytecode_array);
61 HandlerTable(Address handler_table, int handler_table_size,
/third_party/node/deps/v8/src/interpreter/
H A Dhandler-table-builder.cc22 HandlerTable::LengthForRange(handler_table_size), AllocationType::kOld); in ToHandlerTable()
23 HandlerTable table(*table_byte_array); in ToHandlerTable()
26 HandlerTable::CatchPrediction pred = entry.catch_prediction_; in ToHandlerTable()
42 Entry entry = {0, 0, 0, Register::invalid_value(), HandlerTable::UNCAUGHT}; in NewHandlerEntry()
66 int handler_id, HandlerTable::CatchPrediction prediction) { in SetPrediction()
H A Dhandler-table-builder.h19 class HandlerTable;
42 // the resulting {HandlerTable} class when copied into the heap.
46 void SetPrediction(int handler_id, HandlerTable::CatchPrediction prediction);
56 HandlerTable::CatchPrediction catch_prediction_;
H A Dcontrol-flow-builders.h207 HandlerTable::CatchPrediction catch_prediction) in TryCatchBuilder()
222 HandlerTable::CatchPrediction catch_prediction_;
235 HandlerTable::CatchPrediction catch_prediction) in TryFinallyBuilder()
254 HandlerTable::CatchPrediction catch_prediction_;
H A Dbytecode-generator.h393 HandlerTable::CatchPrediction catch_prediction,
398 HandlerTable::CatchPrediction catch_prediction,
492 inline HandlerTable::CatchPrediction catch_prediction() const { in catch_prediction()
495 inline void set_catch_prediction(HandlerTable::CatchPrediction value) { in set_catch_prediction()
549 HandlerTable::CatchPrediction catch_prediction_;
H A Dbytecode-generator.cc1169 catch_prediction_(HandlerTable::UNCAUGHT) { in BytecodeGenerator()
2138 HandlerTable::CatchPrediction catch_prediction, in BuildTryCatch()
2170 HandlerTable::CatchPrediction catch_prediction, in BuildTryFinally()
2458 HandlerTable::UNCAUGHT); in VisitForOfStatement()
2465 HandlerTable::CatchPrediction outer_catch_prediction = catch_prediction(); in VisitTryCatchStatement()
4080 HandlerTable::UNCAUGHT); in BuildFinalizeIteration()
4297 HandlerTable::UNCAUGHT); in BuildDestructuringArrayAssignment()
4690 .LoadBoolean(catch_prediction() != HandlerTable::ASYNC_AWAIT) in VisitYield()
4957 .LoadBoolean(catch_prediction() != HandlerTable::ASYNC_AWAIT) in VisitYieldStar()
4998 // Rather than HandlerTable in BuildAwait()
[all...]
H A Dbytecode-array-builder.h420 HandlerTable::CatchPrediction will_catch);
H A Dbytecode-array-builder.cc1126 int handler_id, HandlerTable::CatchPrediction catch_prediction) { in MarkHandler()
/third_party/node/deps/v8/src/runtime/
H A Druntime-generator.cc144 HandlerTable handler_table(shared.GetBytecodeArray(isolate)); in RUNTIME_FUNCTION()
147 HandlerTable::CatchPrediction catch_prediction = HandlerTable::ASYNC_AWAIT; in RUNTIME_FUNCTION()
149 return isolate->heap()->ToBoolean(catch_prediction == HandlerTable::CAUGHT); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/ast/
H A Dast.h784 // If this try/catch statement is meant to rethrow (HandlerTable::UNCAUGHT),
791 inline HandlerTable::CatchPrediction GetCatchPrediction( in GetCatchPrediction()
792 HandlerTable::CatchPrediction outer_catch_prediction) const { in GetCatchPrediction()
793 if (catch_prediction_ == HandlerTable::UNCAUGHT) { in GetCatchPrediction()
802 // HandlerTable::UNCAUGHT. If both the current and surrounding catch handler's
822 HandlerTable::CatchPrediction outer_catch_prediction) const { in ShouldClearPendingException()
823 if (catch_prediction_ == HandlerTable::UNCAUGHT_ASYNC_AWAIT) { in ShouldClearPendingException()
824 DCHECK_EQ(outer_catch_prediction, HandlerTable::UNCAUGHT); in ShouldClearPendingException()
828 return catch_prediction_ != HandlerTable::UNCAUGHT || in ShouldClearPendingException()
829 outer_catch_prediction != HandlerTable in ShouldClearPendingException()
[all...]
H A Dprettyprinter.cc1033 switch (node->GetCatchPrediction(HandlerTable::UNCAUGHT)) { in VisitTryCatchStatement()
1034 case HandlerTable::UNCAUGHT: in VisitTryCatchStatement()
1037 case HandlerTable::CAUGHT: in VisitTryCatchStatement()
1040 case HandlerTable::ASYNC_AWAIT: in VisitTryCatchStatement()
1043 case HandlerTable::UNCAUGHT_ASYNC_AWAIT: in VisitTryCatchStatement()
1046 case HandlerTable::PROMISE: in VisitTryCatchStatement()
/third_party/node/deps/v8/src/execution/
H A Disolate.cc1942 HandlerTable table(code); in ThrowInternal()
1954 HandlerTable table(code); in ThrowInternal()
2163 HandlerTable::CatchPrediction PredictException(JavaScriptFrame* frame) { in ThrowInternal()
2164 HandlerTable::CatchPrediction prediction; in ThrowInternal()
2177 if (prediction == HandlerTable::UNCAUGHT) continue; in ThrowInternal()
2184 HandlerTable table(code->GetBytecodeArray()); in ThrowInternal()
2187 if (prediction == HandlerTable::UNCAUGHT) continue; in ThrowInternal()
2194 return HandlerTable::UNCAUGHT; in ThrowInternal()
2197 Isolate::CatchType ToCatchType(HandlerTable::CatchPrediction prediction) { in ThrowInternal()
2199 case HandlerTable in ThrowInternal()
[all...]
H A Dframes.cc1282 HandlerTable table(code); in LookupExceptionHandlerInTable()
1383 int* stack_depth, HandlerTable::CatchPrediction* prediction) { in LookupExceptionHandlerInTable()
1838 int* data, HandlerTable::CatchPrediction* prediction) { in LookupExceptionHandlerInTable()
1844 HandlerTable table(code); in LookupExceptionHandlerInTable()
1950 int* context_register, HandlerTable::CatchPrediction* prediction) { in LookupExceptionHandlerInTable()
1951 HandlerTable table(GetBytecodeArray()); in LookupExceptionHandlerInTable()
2154 HandlerTable table(code); in LookupExceptionHandlerInTable()
H A Dframes.h566 int* data, HandlerTable::CatchPrediction* prediction);
824 int* data, HandlerTable::CatchPrediction* prediction) override;
851 int* data, HandlerTable::CatchPrediction* prediction) override;
/third_party/node/deps/v8/src/builtins/
H A Dsetup-builtins-internal.cc108 handler_table_offset = HandlerTable::EmitReturnTableStart(&masm); in BuildWithMacroAssembler()
109 HandlerTable::EmitReturnEntry( in BuildWithMacroAssembler()
/third_party/node/deps/v8/src/objects/
H A Dcode-inl.h701 inline HandlerTable::CatchPrediction Code::GetBuiltinCatchPrediction() { in GetBuiltinCatchPrediction()
702 if (is_promise_rejection()) return HandlerTable::PROMISE; in GetBuiltinCatchPrediction()
703 return HandlerTable::UNCAUGHT; in GetBuiltinCatchPrediction()
H A Dcode.cc582 HandlerTable table(*this); in Disassemble()
671 HandlerTable table(*this); in Disassemble()
H A Dobject-list-macros.h123 V(HandlerTable) \
H A Dcode.h589 inline HandlerTable::CatchPrediction GetBuiltinCatchPrediction();
/third_party/node/deps/v8/src/compiler/backend/
H A Dcode-generator.cc403 handler_table_offset_ = HandlerTable::EmitReturnTableStart(tasm()); in AssembleCode()
405 HandlerTable::EmitReturnEntry(tasm(), handlers_[i].pc_offset, in AssembleCode()
/third_party/node/deps/v8/src/compiler/
H A Dbytecode-analysis.cc337 HandlerTable table(*bytecode_array); in UpdateOutLiveness()
H A Dbytecode-graph-builder.cc4208 HandlerTable table(bytecode_array().handler_table_address(), in ExitThenEnterExceptionHandlers()
4210 HandlerTable::kRangeBasedEncoding); in ExitThenEnterExceptionHandlers()
/third_party/node/deps/v8/src/debug/
H A Ddebug.cc1144 HandlerTable table(code->GetBytecodeArray()); in PrepareStepOnThrow()
1146 HandlerTable::CatchPrediction prediction; in PrepareStepOnThrow()
/third_party/node/deps/v8/src/deoptimizer/
H A Ddeoptimizer.cc646 HandlerTable table( in LookupCatchHandler()

Completed in 111 milliseconds

12