@@ -514,26 +514,6 @@ int JSStackFrame::GetColumnNumber() {
514514 return kNone ;
515515}
516516
517- int JSStackFrame::GetEnclosingLineNumber () {
518- if (HasScript ()) {
519- Handle<SharedFunctionInfo> shared = handle (function_->shared (), isolate_);
520- return Script::GetLineNumber (GetScript (),
521- shared->function_token_position ()) + 1 ;
522- } else {
523- return kNone ;
524- }
525- }
526-
527- int JSStackFrame::GetEnclosingColumnNumber () {
528- if (HasScript ()) {
529- Handle<SharedFunctionInfo> shared = handle (function_->shared (), isolate_);
530- return Script::GetColumnNumber (GetScript (),
531- shared->function_token_position ()) + 1 ;
532- } else {
533- return kNone ;
534- }
535- }
536-
537517int JSStackFrame::GetPromiseIndex () const {
538518 return (is_promise_all_ || is_promise_any_) ? offset_ : kNone ;
539519}
@@ -622,12 +602,6 @@ int WasmStackFrame::GetPosition() const {
622602
623603int WasmStackFrame::GetColumnNumber () { return GetModuleOffset (); }
624604
625- int WasmStackFrame::GetEnclosingColumnNumber () {
626- const int function_offset =
627- GetWasmFunctionOffset (wasm_instance_->module (), wasm_func_index_);
628- return function_offset;
629- }
630-
631605int WasmStackFrame::GetModuleOffset () const {
632606 const int function_offset =
633607 GetWasmFunctionOffset (wasm_instance_->module (), wasm_func_index_);
@@ -698,26 +672,6 @@ int AsmJsWasmStackFrame::GetColumnNumber() {
698672 return Script::GetColumnNumber (script, GetPosition ()) + 1 ;
699673}
700674
701- int AsmJsWasmStackFrame::GetEnclosingLineNumber () {
702- DCHECK_LE (0 , GetPosition ());
703- Handle<Script> script (wasm_instance_->module_object ().script (), isolate_);
704- DCHECK (script->IsUserJavaScript ());
705- int byte_offset = GetSourcePosition (wasm_instance_->module (),
706- wasm_func_index_, 0 ,
707- is_at_number_conversion_);
708- return Script::GetLineNumber (script, byte_offset) + 1 ;
709- }
710-
711- int AsmJsWasmStackFrame::GetEnclosingColumnNumber () {
712- DCHECK_LE (0 , GetPosition ());
713- Handle<Script> script (wasm_instance_->module_object ().script (), isolate_);
714- DCHECK (script->IsUserJavaScript ());
715- int byte_offset = GetSourcePosition (wasm_instance_->module (),
716- wasm_func_index_, 0 ,
717- is_at_number_conversion_);
718- return Script::GetColumnNumber (script, byte_offset) + 1 ;
719- }
720-
721675FrameArrayIterator::FrameArrayIterator (Isolate* isolate,
722676 Handle<FrameArray> array, int frame_ix)
723677 : isolate_(isolate), array_(array), frame_ix_(frame_ix) {}
0 commit comments