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

Unified Diff: src/log.h

Issue 569028: Don't inline full VMState's constructor/destructor. (Closed)
Patch Set: Created 10 years, 11 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 | « no previous file | src/log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log.h
diff --git a/src/log.h b/src/log.h
index 1f6e60e1a67b6425bb20db56fe473d614824ba20..9013f15e3682ebd640f2b409acdab98c3b34a274 100644
--- a/src/log.h
+++ b/src/log.h
@@ -95,12 +95,16 @@ class VMState BASE_EMBEDDED {
inline ~VMState();
StateTag state() { return state_; }
+
Address external_callback() { return external_callback_; }
void set_external_callback(Address external_callback) {
external_callback_ = external_callback;
}
private:
+ void Initialize(StateTag state);
+ void Destroy();
+
bool disabled_;
StateTag state_;
VMState* previous_;
« no previous file with comments | « no previous file | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698