/external/v8/src/ |
D | handler-table.cc | 16 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 …]
|
D | handler-table.h | 30 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);
|
D | isolate.cc | 1301 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 …]
|
D | frames.cc | 988 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()
|
D | code-stubs.cc | 382 int handler_table_offset = HandlerTable::EmitReturnTableStart(masm, 1); in GenerateHandlerTable() 383 HandlerTable::EmitReturnEntry(masm, 0, handler_offset_); in GenerateHandlerTable()
|
D | frames.h | 759 int* data, HandlerTable::CatchPrediction* prediction); 842 int* data, HandlerTable::CatchPrediction* prediction) override; 871 int* data, HandlerTable::CatchPrediction* prediction) override;
|
D | objects.h | 809 V(HandlerTable) \
|
D | deoptimizer.cc | 666 HandlerTable table( in LookupCatchHandler()
|
/external/v8/src/interpreter/ |
D | handler-table-builder.cc | 21 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()
|
D | handler-table-builder.h | 18 class HandlerTable; variable 42 void SetPrediction(int handler_id, HandlerTable::CatchPrediction prediction); 52 HandlerTable::CatchPrediction catch_prediction_;
|
D | control-flow-builders.h | 182 HandlerTable::CatchPrediction catch_prediction) in TryCatchBuilder() 197 HandlerTable::CatchPrediction catch_prediction_; 212 HandlerTable::CatchPrediction catch_prediction) in TryFinallyBuilder() 231 HandlerTable::CatchPrediction catch_prediction_;
|
D | bytecode-generator.h | 338 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_;
|
D | bytecode-array-builder.h | 449 HandlerTable::CatchPrediction will_catch);
|
D | bytecode-generator.cc | 915 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()
|
D | bytecode-array-builder.cc | 1317 int handler_id, HandlerTable::CatchPrediction catch_prediction) { in MarkHandler()
|
/external/v8/src/runtime/ |
D | runtime-generator.cc | 104 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/ |
D | code-inl.h | 451 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()
|
D | code.h | 343 inline HandlerTable::CatchPrediction GetBuiltinCatchPrediction();
|
/external/v8/src/ast/ |
D | prettyprinter.cc | 980 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()
|
D | ast.h | 917 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/ |
D | code-generator.cc | 309 handler_table_offset_ = HandlerTable::EmitReturnTableStart( in AssembleCode() 312 HandlerTable::EmitReturnEntry(tasm(), handlers_[i].pc_offset, in AssembleCode()
|
D | bytecode-analysis.cc | 239 HandlerTable table(*bytecode_array); in UpdateOutLiveness()
|
/external/v8/src/debug/ |
D | debug.cc | 926 HandlerTable table(code->GetBytecodeArray()); in PrepareStepOnThrow() 928 HandlerTable::CatchPrediction prediction; in PrepareStepOnThrow()
|
/external/v8/src/wasm/ |
D | wasm-code-manager.cc | 249 HandlerTable table(instruction_start(), handler_table_offset_); in Disassemble()
|
/external/v8/src/heap/ |
D | heap.h | 47 class HandlerTable; variable
|