| Index: src/arm/assembler-arm.h
|
| diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h
|
| index 1c6a7f04f86c62e025b25a6acddba4e32eb4abb0..1aaa2238a46e9cb7cdd5a28b875c1621cbbdc42e 100644
|
| --- a/src/arm/assembler-arm.h
|
| +++ b/src/arm/assembler-arm.h
|
| @@ -50,71 +50,6 @@
|
| namespace v8 {
|
| namespace internal {
|
|
|
| -// CpuFeatures keeps track of which features are supported by the target CPU.
|
| -// Supported features must be enabled by a CpuFeatureScope before use.
|
| -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(bool serializer_enabled);
|
| -
|
| - // Display target use when compiling.
|
| - static void PrintTarget();
|
| -
|
| - // Display features.
|
| - static void PrintFeatures();
|
| -
|
| - // Check whether a feature is supported by the target CPU.
|
| - static bool IsSupported(CpuFeature f) {
|
| - ASSERT(initialized_);
|
| - return Check(f, supported_);
|
| - }
|
| -
|
| - static bool IsSafeForSnapshot(Isolate* isolate, CpuFeature f) {
|
| - return Check(f, cross_compile_) ||
|
| - (IsSupported(f) &&
|
| - !(Serializer::enabled(isolate) &&
|
| - Check(f, found_by_runtime_probing_only_)));
|
| - }
|
| -
|
| - static unsigned cache_line_size() { return cache_line_size_; }
|
| -
|
| - static bool VerifyCrossCompiling() {
|
| - return cross_compile_ == 0;
|
| - }
|
| -
|
| - static bool VerifyCrossCompiling(CpuFeature f) {
|
| - unsigned mask = flag2set(f);
|
| - return cross_compile_ == 0 ||
|
| - (cross_compile_ & mask) == mask;
|
| - }
|
| -
|
| - static bool SupportsCrankshaft() { return CpuFeatures::IsSupported(VFP3); }
|
| -
|
| - private:
|
| - static bool Check(CpuFeature f, unsigned set) {
|
| - return (set & flag2set(f)) != 0;
|
| - }
|
| -
|
| - static unsigned flag2set(CpuFeature f) {
|
| - return 1u << f;
|
| - }
|
| -
|
| -#ifdef DEBUG
|
| - static bool initialized_;
|
| -#endif
|
| - static unsigned supported_;
|
| - static unsigned found_by_runtime_probing_only_;
|
| - static unsigned cache_line_size_;
|
| -
|
| - static unsigned cross_compile_;
|
| -
|
| - friend class ExternalReference;
|
| - friend class PlatformFeatureScope;
|
| - DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
|
| -};
|
| -
|
| -
|
| // CPU Registers.
|
| //
|
| // 1) We would prefer to use an enum, but enum values are assignment-
|
| @@ -588,11 +523,9 @@ class Operand BASE_EMBEDDED {
|
| // the instruction this operand is used for is a MOV or MVN instruction the
|
| // actual instruction to use is required for this calculation. For other
|
| // instructions instr is ignored.
|
| - bool is_single_instruction(Isolate* isolate,
|
| - const Assembler* assembler,
|
| + bool is_single_instruction(const Assembler* assembler,
|
| Instr instr = 0) const;
|
| - bool must_output_reloc_info(Isolate* isolate,
|
| - const Assembler* assembler) const;
|
| + bool must_output_reloc_info(const Assembler* assembler) const;
|
|
|
| inline int32_t immediate() const {
|
| ASSERT(!rm_.is_valid());
|
|
|