| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 52c313b5b582b208c252134b2eb33c9953de0988..de330d138655940d3d382b61f538d2770ae1d902 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -1202,10 +1202,6 @@
|
| for (StackFrameIterator iter(this); !iter.done(); iter.Advance()) {
|
| StackFrame* frame = iter.frame();
|
|
|
| - if (frame->is_wasm() && trap_handler::IsThreadInWasm()) {
|
| - trap_handler::ClearThreadInWasm();
|
| - }
|
| -
|
| // For JSEntryStub frames we always have a handler.
|
| if (frame->is_entry() || frame->is_entry_construct()) {
|
| StackHandler* handler = frame->top_handler();
|
| @@ -1237,11 +1233,6 @@
|
|
|
| handler_sp = return_sp;
|
| handler_fp = frame->fp();
|
| -
|
| - // This is going to be handled by Wasm, so we need to set the TLS flag
|
| - // again.
|
| - trap_handler::SetThreadInWasm();
|
| -
|
| break;
|
| }
|
| }
|
|
|