Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index b1d5a4c27aa32941583cd997033d5eff93f3c655..69fb5ee30a293f810a1f8ea72047bf367a9578ce 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -894,11 +894,6 @@ Isolate* Isolate::Init(const char* name_prefix, |
ASSERT(state != NULL); |
result->set_api_state(state); |
- // Initialize stack limit (wait until later for the VM isolate, since the |
- // needed GetStackPointer stub has not yet been generated in that case). |
- if (!is_vm_isolate) { |
- result->InitializeStackLimit(); |
- } |
result->set_main_port(PortMap::CreatePort(result->message_handler())); |
#if defined(DEBUG) |
// Verify that we are never reusing a live origin id. |
@@ -938,11 +933,6 @@ Isolate* Isolate::Init(const char* name_prefix, |
} |
-void Isolate::InitializeStackLimit() { |
- SetStackLimitFromStackBase(Isolate::GetCurrentStackPointer()); |
-} |
- |
- |
/* static */ |
uword Isolate::GetCurrentStackPointer() { |
// Since AddressSanitizer's detect_stack_use_after_return instruments the |