Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index f41bad1d8f5ad55ee5d1a5ff5fbf30ba603fcc49..09e5ebbe295d58e827a134ae8b3fafeb667551b6 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -2639,6 +2639,11 @@ bool FrameArray::IsWasmFrame(int frame_ix) const { |
return (flags & kIsWasmFrame) != 0; |
} |
+bool FrameArray::IsAsmJsWasmFrame(int frame_ix) const { |
+ const int flags = Flags(frame_ix)->value(); |
+ return (flags & kIsAsmJsWasmFrame) != 0; |
+} |
+ |
int FrameArray::FrameCount() const { |
const int frame_count = Smi::cast(get(kFrameCountIndex))->value(); |
DCHECK_LE(0, frame_count); |