Revision: 19598
Author: [email protected]
Date: Fri Feb 28 10:55:47 2014 UTC
Log: Delete the simulator when we don't need it anymore
BUG=none
[email protected], [email protected]
LOG=n
Review URL: https://codereview.chromium.org/180243010
http://code.google.com/p/v8/source/detail?r=19598
Modified:
/branches/bleeding_edge/src/arm/simulator-arm.cc
/branches/bleeding_edge/src/isolate.cc
/branches/bleeding_edge/src/isolate.h
/branches/bleeding_edge/src/mips/simulator-mips.cc
=======================================
--- /branches/bleeding_edge/src/arm/simulator-arm.cc Thu Jan 30 13:18:41
2014 UTC
+++ /branches/bleeding_edge/src/arm/simulator-arm.cc Fri Feb 28 10:55:47
2014 UTC
@@ -794,6 +794,10 @@
last_debugger_input_ = NULL;
}
+
+
+Simulator::~Simulator() {
+}
// When the generated code calls an external reference we need to catch
that in
=======================================
--- /branches/bleeding_edge/src/isolate.cc Tue Feb 25 12:18:30 2014 UTC
+++ /branches/bleeding_edge/src/isolate.cc Fri Feb 28 10:55:47 2014 UTC
@@ -1461,6 +1461,13 @@
// and leave it out for now.
// ASSERT_EQ(NULL, list_);
}
+
+
+Isolate::PerIsolateThreadData::~PerIsolateThreadData() {
+#if defined(USE_SIMULATOR)
+ delete simulator_;
+#endif
+}
Isolate::PerIsolateThreadData*
=======================================
--- /branches/bleeding_edge/src/isolate.h Thu Feb 13 16:09:28 2014 UTC
+++ /branches/bleeding_edge/src/isolate.h Fri Feb 28 10:55:47 2014 UTC
@@ -396,6 +396,7 @@
#endif
next_(NULL),
prev_(NULL) { }
+ ~PerIsolateThreadData();
Isolate* isolate() const { return isolate_; }
ThreadId thread_id() const { return thread_id_; }
=======================================
--- /branches/bleeding_edge/src/mips/simulator-mips.cc Thu Feb 20 17:18:57
2014 UTC
+++ /branches/bleeding_edge/src/mips/simulator-mips.cc Fri Feb 28 10:55:47
2014 UTC
@@ -923,6 +923,10 @@
last_debugger_input_ = NULL;
}
+
+
+Simulator::~Simulator() {
+}
// When the generated code calls an external reference we need to catch
that in
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.