OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 Major MajorKey() { return TranscendentalCache; } | 56 Major MajorKey() { return TranscendentalCache; } |
57 int MinorKey() { return type_ | argument_type_; } | 57 int MinorKey() { return type_ | argument_type_; } |
58 Runtime::FunctionId RuntimeFunction(); | 58 Runtime::FunctionId RuntimeFunction(); |
59 }; | 59 }; |
60 | 60 |
61 | 61 |
62 class StoreBufferOverflowStub: public PlatformCodeStub { | 62 class StoreBufferOverflowStub: public PlatformCodeStub { |
63 public: | 63 public: |
64 explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp) | 64 explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp) |
65 : save_doubles_(save_fp) { } | 65 : save_doubles_(save_fp) { |
| 66 ASSERT(CpuFeatures::IsSafeForSnapshot(FPU) || save_fp == kDontSaveFPRegs); |
| 67 } |
66 | 68 |
67 void Generate(MacroAssembler* masm); | 69 void Generate(MacroAssembler* masm); |
68 | 70 |
69 virtual bool IsPregenerated(); | 71 virtual bool IsPregenerated() { return true; } |
70 static void GenerateFixedRegStubsAheadOfTime(Isolate* isolate); | 72 static void GenerateFixedRegStubsAheadOfTime(Isolate* isolate); |
71 virtual bool SometimesSetsUpAFrame() { return false; } | 73 virtual bool SometimesSetsUpAFrame() { return false; } |
72 | 74 |
73 private: | 75 private: |
74 SaveFPRegsMode save_doubles_; | 76 SaveFPRegsMode save_doubles_; |
75 | 77 |
76 Major MajorKey() { return StoreBufferOverflow; } | 78 Major MajorKey() { return StoreBufferOverflow; } |
77 int MinorKey() { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; } | 79 int MinorKey() { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; } |
78 }; | 80 }; |
79 | 81 |
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 | 787 |
786 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 788 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
787 | 789 |
788 LookupMode mode_; | 790 LookupMode mode_; |
789 }; | 791 }; |
790 | 792 |
791 | 793 |
792 } } // namespace v8::internal | 794 } } // namespace v8::internal |
793 | 795 |
794 #endif // V8_MIPS_CODE_STUBS_ARM_H_ | 796 #endif // V8_MIPS_CODE_STUBS_ARM_H_ |
OLD | NEW |