| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_MIPS_CODE_STUBS_ARM_H_ | 5 #ifndef V8_MIPS_CODE_STUBS_ARM_H_ |
| 6 #define V8_MIPS_CODE_STUBS_ARM_H_ | 6 #define V8_MIPS_CODE_STUBS_ARM_H_ |
| 7 | 7 |
| 8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
| 9 | 9 |
| 10 | 10 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 | 61 |
| 62 class StoreRegistersStateStub: public PlatformCodeStub { | 62 class StoreRegistersStateStub: public PlatformCodeStub { |
| 63 public: | 63 public: |
| 64 explicit StoreRegistersStateStub(Isolate* isolate) | 64 explicit StoreRegistersStateStub(Isolate* isolate) |
| 65 : PlatformCodeStub(isolate) {} | 65 : PlatformCodeStub(isolate) {} |
| 66 | 66 |
| 67 static void GenerateAheadOfTime(Isolate* isolate); | 67 static void GenerateAheadOfTime(Isolate* isolate); |
| 68 private: | 68 private: |
| 69 virtual inline Major MajorKey() const FINAL OVERRIDE; | 69 virtual inline Major MajorKey() const FINAL OVERRIDE; |
| 70 uint32_t MinorKey() const { return 0; } | |
| 71 | 70 |
| 72 void Generate(MacroAssembler* masm); | 71 void Generate(MacroAssembler* masm); |
| 73 }; | 72 }; |
| 74 | 73 |
| 75 class RestoreRegistersStateStub: public PlatformCodeStub { | 74 class RestoreRegistersStateStub: public PlatformCodeStub { |
| 76 public: | 75 public: |
| 77 explicit RestoreRegistersStateStub(Isolate* isolate) | 76 explicit RestoreRegistersStateStub(Isolate* isolate) |
| 78 : PlatformCodeStub(isolate) {} | 77 : PlatformCodeStub(isolate) {} |
| 79 | 78 |
| 80 static void GenerateAheadOfTime(Isolate* isolate); | 79 static void GenerateAheadOfTime(Isolate* isolate); |
| 81 private: | 80 private: |
| 82 virtual inline Major MajorKey() const FINAL OVERRIDE; | 81 virtual inline Major MajorKey() const FINAL OVERRIDE; |
| 83 uint32_t MinorKey() const { return 0; } | |
| 84 | 82 |
| 85 void Generate(MacroAssembler* masm); | 83 void Generate(MacroAssembler* masm); |
| 86 }; | 84 }; |
| 87 | 85 |
| 88 | 86 |
| 89 // This stub can convert a signed int32 to a heap number (double). It does | 87 // This stub can convert a signed int32 to a heap number (double). It does |
| 90 // not work for int32s that are in Smi range! No GC occurs during this stub | 88 // not work for int32s that are in Smi range! No GC occurs during this stub |
| 91 // so you don't have to set up the frame. | 89 // so you don't have to set up the frame. |
| 92 class WriteInt32ToHeapNumberStub : public PlatformCodeStub { | 90 class WriteInt32ToHeapNumberStub : public PlatformCodeStub { |
| 93 public: | 91 public: |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 | 400 |
| 403 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 401 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
| 404 | 402 |
| 405 DISALLOW_COPY_AND_ASSIGN(NameDictionaryLookupStub); | 403 DISALLOW_COPY_AND_ASSIGN(NameDictionaryLookupStub); |
| 406 }; | 404 }; |
| 407 | 405 |
| 408 | 406 |
| 409 } } // namespace v8::internal | 407 } } // namespace v8::internal |
| 410 | 408 |
| 411 #endif // V8_MIPS_CODE_STUBS_ARM_H_ | 409 #endif // V8_MIPS_CODE_STUBS_ARM_H_ |
| OLD | NEW |