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

Unified Diff: runtime/vm/cpuid.h

Issue 1677043003: 1. Fix memory leaks reported by running a simple test using ASAN (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address-code-review Created 4 years, 10 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 | runtime/vm/cpuinfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/cpuid.h
diff --git a/runtime/vm/cpuid.h b/runtime/vm/cpuid.h
index b9d193af326b809f071c0407e62f92582d8b6a89..b33812e5e1a398b0e4cdd7443c44ae5cb0429c54 100644
--- a/runtime/vm/cpuid.h
+++ b/runtime/vm/cpuid.h
@@ -26,14 +26,14 @@ class CpuId : public AllStatic {
static const char* field(CpuInfoIndices idx) { return NULL; }
#endif
- static bool sse2() { return sse2_; }
- static bool sse41() { return sse41_; }
-
+ private:
// Caller must free the result of id_string and brand_string.
static const char* id_string();
static const char* brand_string();
- private:
+ static bool sse2() { return sse2_; }
+ static bool sse41() { return sse41_; }
+
static bool sse2_;
static bool sse41_;
static const char* id_string_;
« no previous file with comments | « no previous file | runtime/vm/cpuinfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698