Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 56644311edaadb66a56305af8e5bc988f01f54e9..8a9a5afa9879947dd99eb7b8b1ca0ecb268fbf8f 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1852,7 +1852,7 @@ v8::TryCatch::TryCatch() |
// Special handling for simulators which have a separate JS stack. |
js_stack_comparable_address_ = |
reinterpret_cast<void*>(v8::internal::SimulatorStack::RegisterCTryCatch( |
- GetCurrentStackPosition())); |
+ v8::internal::GetCurrentStackPosition())); |
isolate_->RegisterTryCatchHandler(this); |
} |