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

Unified Diff: src/assembler.h

Issue 441883004: [turbofan] Improve testability of the InstructionSelector. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Also add sample test for ia32. Created 6 years, 4 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/compiler/arm/instruction-selector-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/assembler.h
diff --git a/src/assembler.h b/src/assembler.h
index dd73ce1d7de7e307ef2bca4adb76824b22f9a683..9e9022d3f27681ad01f1961dec283ed0d84e3ded 100644
--- a/src/assembler.h
+++ b/src/assembler.h
@@ -176,6 +176,11 @@ class CpuFeatures : public AllStatic {
ProbeImpl(cross_compile);
}
+ static unsigned SupportedFeatures() {
+ Probe(false);
+ return supported_;
+ }
+
static bool IsSupported(CpuFeature f) {
return (supported_ & (1u << f)) != 0;
}
« no previous file with comments | « no previous file | src/compiler/arm/instruction-selector-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698