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

Unified Diff: src/api.cc

Issue 2765813002: [debug] refactor code coverage to use enum for mode. (Closed)
Patch Set: fix d8 Created 3 years, 9 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/d8.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index c7ec5722e4f6e52c89fe8355cd4f9a130df9737e..170b45402ad9b9c6c2b81efaa101f669a9897021 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -9625,8 +9625,8 @@ debug::Coverage debug::Coverage::Collect(Isolate* isolate, bool reset_count) {
reset_count));
}
-void debug::Coverage::TogglePrecise(Isolate* isolate, bool enable) {
- i::Coverage::TogglePrecise(reinterpret_cast<i::Isolate*>(isolate), enable);
+void debug::Coverage::SelectMode(Isolate* isolate, debug::Coverage::Mode mode) {
+ i::Coverage::SelectMode(reinterpret_cast<i::Isolate*>(isolate), mode);
}
const char* CpuProfileNode::GetFunctionNameStr() const {
« no previous file with comments | « no previous file | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698