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

Unified Diff: src/arm64/cpu-arm64.h

Issue 265243004: Inlined IsFoundByRuntimeProbingOnly. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | « src/arm/assembler-arm.h ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm64/cpu-arm64.h
diff --git a/src/arm64/cpu-arm64.h b/src/arm64/cpu-arm64.h
index 4f7b499791f6215a118d7d061c3675ff860170e2..0b7a7d7f1feab31931c1dd3207350c607b3a57f7 100644
--- a/src/arm64/cpu-arm64.h
+++ b/src/arm64/cpu-arm64.h
@@ -28,15 +28,9 @@ class CpuFeatures : public AllStatic {
return false;
};
- static bool IsFoundByRuntimeProbingOnly(CpuFeature f) {
- ASSERT(initialized_);
- // There are no optional features for ARM64.
- return false;
- }
-
+ // There are no optional features for ARM64.
static bool IsSafeForSnapshot(Isolate* isolate, CpuFeature f) {
- return (IsSupported(f) &&
- (!Serializer::enabled(isolate) || !IsFoundByRuntimeProbingOnly(f)));
+ return IsSupported(f);
}
// I and D cache line size in bytes.
« no previous file with comments | « src/arm/assembler-arm.h ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698