Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(804)

Unified Diff: src/isolate.cc

Issue 18062006: Revert r15361 "Improved function entry hook coverage" because of ARM build error. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/isolate.h ('k') | src/v8.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index 2383399f7fd863e2d00be7c6c20b17ca7ef281d9..476e405249974bc23cd73fdf83b98af439b51a4b 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -1753,10 +1753,8 @@ Isolate::Isolate()
date_cache_(NULL),
code_stub_interface_descriptors_(NULL),
context_exit_happened_(false),
- initialized_from_snapshot_(false),
cpu_profiler_(NULL),
heap_profiler_(NULL),
- function_entry_hook_(NULL),
deferred_handles_head_(NULL),
optimizing_compiler_thread_(this),
marking_thread_(NULL),
@@ -2079,14 +2077,6 @@ bool Isolate::Init(Deserializer* des) {
ASSERT(Isolate::Current() == this);
TRACE_ISOLATE(init);
- if (function_entry_hook() != NULL) {
- // When function entry hooking is in effect, we have to create the code
- // stubs from scratch to get entry hooks, rather than loading the previously
- // generated stubs from disk.
- // If this assert fires, the initialization path has regressed.
- ASSERT(des == NULL);
- }
-
// The initialization process does not handle memory exhaustion.
DisallowAllocationFailure disallow_allocation_failure;
@@ -2278,9 +2268,6 @@ bool Isolate::Init(Deserializer* des) {
sweeper_thread_[i]->Start();
}
}
-
- initialized_from_snapshot_ = (des != NULL);
-
return true;
}
« no previous file with comments | « src/isolate.h ('k') | src/v8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698