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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 }; | 58 }; |
59 | 59 |
60 | 60 |
61 class StoreBufferOverflowStub: public CodeStub { | 61 class StoreBufferOverflowStub: public CodeStub { |
62 public: | 62 public: |
63 explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp) | 63 explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp) |
64 : save_doubles_(save_fp) { } | 64 : save_doubles_(save_fp) { } |
65 | 65 |
66 void Generate(MacroAssembler* masm); | 66 void Generate(MacroAssembler* masm); |
67 | 67 |
68 virtual bool IsPregenerated() { return true; } | 68 virtual bool IsPregenerated(); |
69 static void GenerateFixedRegStubsAheadOfTime(); | 69 static void GenerateFixedRegStubsAheadOfTime(); |
70 virtual bool SometimesSetsUpAFrame() { return false; } | 70 virtual bool SometimesSetsUpAFrame() { return false; } |
71 | 71 |
72 private: | 72 private: |
73 SaveFPRegsMode save_doubles_; | 73 SaveFPRegsMode save_doubles_; |
74 | 74 |
75 Major MajorKey() { return StoreBufferOverflow; } | 75 Major MajorKey() { return StoreBufferOverflow; } |
76 int MinorKey() { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; } | 76 int MinorKey() { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; } |
77 }; | 77 }; |
78 | 78 |
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
838 | 838 |
839 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 839 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
840 | 840 |
841 LookupMode mode_; | 841 LookupMode mode_; |
842 }; | 842 }; |
843 | 843 |
844 | 844 |
845 } } // namespace v8::internal | 845 } } // namespace v8::internal |
846 | 846 |
847 #endif // V8_ARM_CODE_STUBS_ARM_H_ | 847 #endif // V8_ARM_CODE_STUBS_ARM_H_ |
OLD | NEW |