| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index 8380266d92edf0b13f644f38f3f2917c1fdaf119..0740d7915c9553c53d8ba20f27da42cb04486bd8 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -1167,9 +1167,7 @@ class BinaryOpICStub : public HydrogenCodeStub {
|
| return state_.GetExtraICState();
|
| }
|
|
|
| - virtual void VerifyPlatformFeatures() V8_FINAL V8_OVERRIDE {
|
| - ASSERT(CpuFeatures::VerifyCrossCompiling(SSE2));
|
| - }
|
| + virtual void VerifyPlatformFeatures() V8_FINAL V8_OVERRIDE { }
|
|
|
| virtual Handle<Code> GenerateCode() V8_OVERRIDE;
|
|
|
| @@ -1224,9 +1222,7 @@ class BinaryOpICWithAllocationSiteStub V8_FINAL : public PlatformCodeStub {
|
| return state_.GetExtraICState();
|
| }
|
|
|
| - virtual void VerifyPlatformFeatures() V8_OVERRIDE {
|
| - ASSERT(CpuFeatures::VerifyCrossCompiling(SSE2));
|
| - }
|
| + virtual void VerifyPlatformFeatures() V8_OVERRIDE { }
|
|
|
| virtual void Generate(MacroAssembler* masm) V8_OVERRIDE;
|
|
|
| @@ -1307,9 +1303,7 @@ class StringAddStub V8_FINAL : public HydrogenCodeStub {
|
| return PretenureFlagBits::decode(bit_field_);
|
| }
|
|
|
| - virtual void VerifyPlatformFeatures() V8_OVERRIDE {
|
| - ASSERT(CpuFeatures::VerifyCrossCompiling(SSE2));
|
| - }
|
| + virtual void VerifyPlatformFeatures() V8_OVERRIDE { }
|
|
|
| virtual Handle<Code> GenerateCode() V8_OVERRIDE;
|
|
|
| @@ -1521,9 +1515,7 @@ class CEntryStub : public PlatformCodeStub {
|
| static void GenerateAheadOfTime(Isolate* isolate);
|
|
|
| protected:
|
| - virtual void VerifyPlatformFeatures() V8_OVERRIDE {
|
| - ASSERT(CpuFeatures::VerifyCrossCompiling(SSE2));
|
| - };
|
| + virtual void VerifyPlatformFeatures() V8_OVERRIDE { }
|
|
|
| private:
|
| // Number of pointers/values returned.
|
| @@ -1919,9 +1911,7 @@ class DoubleToIStub : public PlatformCodeStub {
|
| OffsetBits::encode(offset) |
|
| IsTruncatingBits::encode(is_truncating) |
|
| SkipFastPathBits::encode(skip_fastpath) |
|
| - SSEBits::encode(
|
| - CpuFeatures::IsSafeForSnapshot(isolate, SSE2) ?
|
| - CpuFeatures::IsSafeForSnapshot(isolate, SSE3) ? 2 : 1 : 0);
|
| + SSE3Bits::encode(CpuFeatures::IsSafeForSnapshot(isolate, SSE3) ? 1 : 0);
|
| }
|
|
|
| Register source() {
|
| @@ -1949,9 +1939,7 @@ class DoubleToIStub : public PlatformCodeStub {
|
| virtual bool SometimesSetsUpAFrame() { return false; }
|
|
|
| protected:
|
| - virtual void VerifyPlatformFeatures() V8_OVERRIDE {
|
| - ASSERT(CpuFeatures::VerifyCrossCompiling(SSE2));
|
| - }
|
| + virtual void VerifyPlatformFeatures() V8_OVERRIDE { }
|
|
|
| private:
|
| static const int kBitsPerRegisterNumber = 6;
|
| @@ -1967,8 +1955,8 @@ class DoubleToIStub : public PlatformCodeStub {
|
| public BitField<int, 2 * kBitsPerRegisterNumber + 1, 3> {}; // NOLINT
|
| class SkipFastPathBits:
|
| public BitField<int, 2 * kBitsPerRegisterNumber + 4, 1> {}; // NOLINT
|
| - class SSEBits:
|
| - public BitField<int, 2 * kBitsPerRegisterNumber + 5, 2> {}; // NOLINT
|
| + class SSE3Bits:
|
| + public BitField<int, 2 * kBitsPerRegisterNumber + 5, 1> {}; // NOLINT
|
|
|
| Major MajorKey() { return DoubleToI; }
|
| int MinorKey() { return bit_field_; }
|
|
|