We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 092ed9a commit 9349714Copy full SHA for 9349714
1 file changed
ddprof-lib/src/main/cpp/codeCache.h
@@ -75,14 +75,7 @@ class NativeFunc {
75
}
76
77
static bool is_marked(const char *name) {
78
- if (name == nullptr) {
79
- return false;
80
- }
81
- NativeFunc* func = from(name);
82
- if (!is_aligned(func, sizeof(func))) {
83
84
85
- return func->_mark != 0;
+ return read_mark(name) != 0;
86
87
88
static char read_mark(const char* name) {
0 commit comments