/third_party/node/deps/v8/src/codegen/ |
H A D | handler-table.cc | 22 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 D | handler-table.h | 23 // 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 D | handler-table-builder.cc | 22 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 D | handler-table-builder.h | 19 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 D | control-flow-builders.h | 207 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 D | bytecode-generator.h | 393 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 D | bytecode-generator.cc | 1169 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 D | bytecode-array-builder.h | 420 HandlerTable::CatchPrediction will_catch);
|
H A D | bytecode-array-builder.cc | 1126 int handler_id, HandlerTable::CatchPrediction catch_prediction) { in MarkHandler()
|
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-generator.cc | 144 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 D | ast.h | 784 // 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 D | prettyprinter.cc | 1033 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 D | isolate.cc | 1942 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 D | frames.cc | 1282 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 D | frames.h | 566 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 D | setup-builtins-internal.cc | 108 handler_table_offset = HandlerTable::EmitReturnTableStart(&masm); in BuildWithMacroAssembler() 109 HandlerTable::EmitReturnEntry( in BuildWithMacroAssembler()
|
/third_party/node/deps/v8/src/objects/ |
H A D | code-inl.h | 701 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 D | code.cc | 582 HandlerTable table(*this); in Disassemble() 671 HandlerTable table(*this); in Disassemble()
|
H A D | object-list-macros.h | 123 V(HandlerTable) \
|
H A D | code.h | 589 inline HandlerTable::CatchPrediction GetBuiltinCatchPrediction();
|
/third_party/node/deps/v8/src/compiler/backend/ |
H A D | code-generator.cc | 403 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 D | bytecode-analysis.cc | 337 HandlerTable table(*bytecode_array); in UpdateOutLiveness()
|
H A D | bytecode-graph-builder.cc | 4208 HandlerTable table(bytecode_array().handler_table_address(), in ExitThenEnterExceptionHandlers() 4210 HandlerTable::kRangeBasedEncoding); in ExitThenEnterExceptionHandlers()
|
/third_party/node/deps/v8/src/debug/ |
H A D | debug.cc | 1144 HandlerTable table(code->GetBytecodeArray()); in PrepareStepOnThrow() 1146 HandlerTable::CatchPrediction prediction; in PrepareStepOnThrow()
|
/third_party/node/deps/v8/src/deoptimizer/ |
H A D | deoptimizer.cc | 646 HandlerTable table( in LookupCatchHandler()
|