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

Unified Diff: src/arm/assembler-arm.h

Issue 258993002: Simplified CPU/CpuFeatures a bit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« no previous file with comments | « no previous file | src/arm/assembler-arm.cc » ('j') | src/arm/assembler-arm.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/assembler-arm.h
diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h
index f64cc5c0b3e8993bb08c8d5a5d8bdfcc000a7fe5..df22a20fc165833e50300227a52f3da52ddca3b8 100644
--- a/src/arm/assembler-arm.h
+++ b/src/arm/assembler-arm.h
@@ -56,12 +56,7 @@ class CpuFeatures : public AllStatic {
public:
// Detect features of the target CPU. Set safe defaults if the serializer
// is enabled (snapshots must be portable).
- static void Probe();
-
- // A special case for printing target and features, which we want to do
- // before initializing the isolate
- static void SetHintCreatingSnapshot();
- static void ProbeWithoutIsolate();
+ static void Probe(bool serializer_enabled);
// Display target use when compiling.
static void PrintTarget();
@@ -98,10 +93,9 @@ class CpuFeatures : public AllStatic {
(cross_compile_ & mask) == mask;
}
- private:
- static void Probe(bool serializer_enabled);
- static bool hint_creating_snapshot_;
+ static bool SupportsCrankshaft() { return CpuFeatures::IsSupported(VFP3); }
+ private:
static bool Check(CpuFeature f, unsigned set) {
return (set & flag2set(f)) != 0;
}
« no previous file with comments | « no previous file | src/arm/assembler-arm.cc » ('j') | src/arm/assembler-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698