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

Unified Diff: src/profiler/sampler.h

Issue 1926863003: Make Isolate::GetStackSample API support simulator (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
Index: src/profiler/sampler.h
diff --git a/src/profiler/sampler.h b/src/profiler/sampler.h
index f6804f8e25f7aa0a328a64b746cd8251115cad90..d2d177ecfe33ff1ba98304e44a6eaca2a6b3452d 100644
--- a/src/profiler/sampler.h
+++ b/src/profiler/sampler.h
@@ -11,6 +11,7 @@
#include "src/base/platform/time.h"
#include "src/frames.h"
#include "src/globals.h"
+#include "src/simulator.h"
namespace v8 {
namespace internal {
@@ -141,6 +142,14 @@ class Sampler {
};
+#if defined(USE_SIMULATOR)
+class SimulatorHelper : AllStatic {
+ public:
+ static bool FillRegisters(Isolate* isolate, v8::RegisterState* state);
+};
+#endif // USE_SIMULATOR
+
+
} // namespace internal
} // namespace v8

Powered by Google App Engine
This is Rietveld 408576698