Home
last modified time | relevance | path

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

12

/external/v8/src/
Dhandler-table.cc16 HandlerTable::HandlerTable(Code* code) in HandlerTable() function in v8::internal::HandlerTable
17 : HandlerTable(code->InstructionStart(), code->handler_table_offset()) {} in HandlerTable()
19 HandlerTable::HandlerTable(BytecodeArray* bytecode_array) in HandlerTable() function in v8::internal::HandlerTable
20 : HandlerTable(bytecode_array->handler_table()) {} in HandlerTable()
22 HandlerTable::HandlerTable(ByteArray* byte_array) in HandlerTable() function in v8::internal::HandlerTable
32 HandlerTable::HandlerTable(Address instruction_start, in HandlerTable() function in v8::internal::HandlerTable
45 int HandlerTable::GetRangeStart(int index) const { in GetRangeStart()
52 int HandlerTable::GetRangeEnd(int index) const { in GetRangeEnd()
59 int HandlerTable::GetRangeHandler(int index) const { in GetRangeHandler()
67 int HandlerTable::GetRangeData(int index) const { in GetRangeData()
[all …]
Dhandler-table.h30 class V8_EXPORT_PRIVATE HandlerTable {
49 explicit HandlerTable(Code* code);
50 explicit HandlerTable(ByteArray* byte_array);
51 explicit HandlerTable(BytecodeArray* bytecode_array);
52 explicit HandlerTable(Address instruction_start, size_t handler_table_offset);
Disolate.cc1301 HandlerTable table(code); in Throw()
1478 HandlerTable::CatchPrediction PredictException(JavaScriptFrame* frame) { in Throw()
1479 HandlerTable::CatchPrediction prediction; in Throw()
1492 if (prediction == HandlerTable::UNCAUGHT) continue; in Throw()
1499 HandlerTable table(code->GetBytecodeArray()); in Throw()
1502 if (prediction == HandlerTable::UNCAUGHT) continue; in Throw()
1509 return HandlerTable::UNCAUGHT; in Throw()
1512 Isolate::CatchType ToCatchType(HandlerTable::CatchPrediction prediction) { in Throw()
1514 case HandlerTable::UNCAUGHT: in Throw()
1516 case HandlerTable::CAUGHT: in Throw()
[all …]
Dframes.cc988 HandlerTable table(code); in LookupExceptionHandlerInTable()
1098 int* stack_depth, HandlerTable::CatchPrediction* prediction) { in LookupExceptionHandlerInTable()
1528 int* stack_slots, HandlerTable::CatchPrediction* prediction) { in LookupExceptionHandlerInTable()
1534 HandlerTable table(code); in LookupExceptionHandlerInTable()
1656 int* context_register, HandlerTable::CatchPrediction* prediction) { in LookupExceptionHandlerInTable()
1657 HandlerTable table(function()->shared()->GetBytecodeArray()); in LookupExceptionHandlerInTable()
1853 HandlerTable table(code->instruction_start(), code->handler_table_offset()); in LookupExceptionHandlerInTable()
Dcode-stubs.cc382 int handler_table_offset = HandlerTable::EmitReturnTableStart(masm, 1); in GenerateHandlerTable()
383 HandlerTable::EmitReturnEntry(masm, 0, handler_offset_); in GenerateHandlerTable()
Dframes.h759 int* data, HandlerTable::CatchPrediction* prediction);
842 int* data, HandlerTable::CatchPrediction* prediction) override;
871 int* data, HandlerTable::CatchPrediction* prediction) override;
Dobjects.h809 V(HandlerTable) \
Ddeoptimizer.cc666 HandlerTable table( in LookupCatchHandler()
/external/v8/src/interpreter/
Dhandler-table-builder.cc21 HandlerTable::LengthForRange(handler_table_size), TENURED); in ToHandlerTable()
22 HandlerTable table(*table_byte_array); in ToHandlerTable()
25 HandlerTable::CatchPrediction pred = entry.catch_prediction_; in ToHandlerTable()
37 Entry entry = {0, 0, 0, Register::invalid_value(), HandlerTable::UNCAUGHT}; in NewHandlerEntry()
61 int handler_id, HandlerTable::CatchPrediction prediction) { in SetPrediction()
Dhandler-table-builder.h18 class HandlerTable; variable
42 void SetPrediction(int handler_id, HandlerTable::CatchPrediction prediction);
52 HandlerTable::CatchPrediction catch_prediction_;
Dcontrol-flow-builders.h182 HandlerTable::CatchPrediction catch_prediction) in TryCatchBuilder()
197 HandlerTable::CatchPrediction catch_prediction_;
212 HandlerTable::CatchPrediction catch_prediction) in TryFinallyBuilder()
231 HandlerTable::CatchPrediction catch_prediction_;
Dbytecode-generator.h338 inline HandlerTable::CatchPrediction catch_prediction() const { in catch_prediction()
341 inline void set_catch_prediction(HandlerTable::CatchPrediction value) { in set_catch_prediction()
382 HandlerTable::CatchPrediction catch_prediction_;
Dbytecode-array-builder.h449 HandlerTable::CatchPrediction will_catch);
Dbytecode-generator.cc915 catch_prediction_(HandlerTable::UNCAUGHT) { in BytecodeGenerator()
1685 HandlerTable::CatchPrediction outer_catch_prediction = catch_prediction(); in VisitTryCatchStatement()
3054 .LoadBoolean(catch_prediction() != HandlerTable::ASYNC_AWAIT) in VisitYield()
3316 .LoadBoolean(catch_prediction() != HandlerTable::ASYNC_AWAIT) in VisitYieldStar()
3364 DCHECK(catch_prediction() != HandlerTable::UNCAUGHT); in BuildAwait()
3374 catch_prediction() == HandlerTable::ASYNC_AWAIT in BuildAwait()
3383 catch_prediction() == HandlerTable::ASYNC_AWAIT in BuildAwait()
Dbytecode-array-builder.cc1317 int handler_id, HandlerTable::CatchPrediction catch_prediction) { in MarkHandler()
/external/v8/src/runtime/
Druntime-generator.cc104 HandlerTable handler_table(shared->GetBytecodeArray()); in RUNTIME_FUNCTION()
107 HandlerTable::CatchPrediction catch_prediction = HandlerTable::ASYNC_AWAIT; in RUNTIME_FUNCTION()
109 return isolate->heap()->ToBoolean(catch_prediction == HandlerTable::CAUGHT); in RUNTIME_FUNCTION()
/external/v8/src/objects/
Dcode-inl.h451 inline HandlerTable::CatchPrediction Code::GetBuiltinCatchPrediction() { in GetBuiltinCatchPrediction()
452 if (is_promise_rejection()) return HandlerTable::PROMISE; in GetBuiltinCatchPrediction()
453 if (is_exception_caught()) return HandlerTable::CAUGHT; in GetBuiltinCatchPrediction()
454 return HandlerTable::UNCAUGHT; in GetBuiltinCatchPrediction()
Dcode.h343 inline HandlerTable::CatchPrediction GetBuiltinCatchPrediction();
/external/v8/src/ast/
Dprettyprinter.cc980 switch (node->GetCatchPrediction(HandlerTable::UNCAUGHT)) { in VisitTryCatchStatement()
981 case HandlerTable::UNCAUGHT: in VisitTryCatchStatement()
984 case HandlerTable::CAUGHT: in VisitTryCatchStatement()
987 case HandlerTable::DESUGARING: in VisitTryCatchStatement()
990 case HandlerTable::ASYNC_AWAIT: in VisitTryCatchStatement()
993 case HandlerTable::PROMISE: in VisitTryCatchStatement()
Dast.h917 inline HandlerTable::CatchPrediction GetCatchPrediction( in GetCatchPrediction()
918 HandlerTable::CatchPrediction outer_catch_prediction) const { in GetCatchPrediction()
919 if (catch_prediction_ == HandlerTable::UNCAUGHT) { in GetCatchPrediction()
944 HandlerTable::CatchPrediction outer_catch_prediction) const { in ShouldClearPendingException()
945 return catch_prediction_ != HandlerTable::UNCAUGHT || in ShouldClearPendingException()
946 outer_catch_prediction != HandlerTable::UNCAUGHT; in ShouldClearPendingException()
953 HandlerTable::CatchPrediction catch_prediction, int pos) in TryCatchStatement()
961 HandlerTable::CatchPrediction catch_prediction_;
2934 HandlerTable::CAUGHT, pos); in NewTryCatchStatement()
2942 HandlerTable::UNCAUGHT, pos); in NewTryCatchStatementForReThrow()
[all …]
/external/v8/src/compiler/
Dcode-generator.cc309 handler_table_offset_ = HandlerTable::EmitReturnTableStart( in AssembleCode()
312 HandlerTable::EmitReturnEntry(tasm(), handlers_[i].pc_offset, in AssembleCode()
Dbytecode-analysis.cc239 HandlerTable table(*bytecode_array); in UpdateOutLiveness()
/external/v8/src/debug/
Ddebug.cc926 HandlerTable table(code->GetBytecodeArray()); in PrepareStepOnThrow()
928 HandlerTable::CatchPrediction prediction; in PrepareStepOnThrow()
/external/v8/src/wasm/
Dwasm-code-manager.cc249 HandlerTable table(instruction_start(), handler_table_offset_); in Disassemble()
/external/v8/src/heap/
Dheap.h47 class HandlerTable; variable

12