OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC_CODE_STUBS_PPC_H_ | 5 #ifndef V8_PPC_CODE_STUBS_PPC_H_ |
6 #define V8_PPC_CODE_STUBS_PPC_H_ | 6 #define V8_PPC_CODE_STUBS_PPC_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 | 10 |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 Register scratch1_; | 208 Register scratch1_; |
209 | 209 |
210 friend class RecordWriteStub; | 210 friend class RecordWriteStub; |
211 }; | 211 }; |
212 | 212 |
213 enum OnNoNeedToInformIncrementalMarker { | 213 enum OnNoNeedToInformIncrementalMarker { |
214 kReturnOnNoNeedToInformIncrementalMarker, | 214 kReturnOnNoNeedToInformIncrementalMarker, |
215 kUpdateRememberedSetOnNoNeedToInformIncrementalMarker | 215 kUpdateRememberedSetOnNoNeedToInformIncrementalMarker |
216 }; | 216 }; |
217 | 217 |
218 virtual inline Major MajorKey() const FINAL OVERRIDE { return RecordWrite; } | 218 inline Major MajorKey() const FINAL { return RecordWrite; } |
219 | 219 |
220 virtual void Generate(MacroAssembler* masm) OVERRIDE; | 220 void Generate(MacroAssembler* masm) OVERRIDE; |
221 void GenerateIncremental(MacroAssembler* masm, Mode mode); | 221 void GenerateIncremental(MacroAssembler* masm, Mode mode); |
222 void CheckNeedsToInformIncrementalMarker( | 222 void CheckNeedsToInformIncrementalMarker( |
223 MacroAssembler* masm, OnNoNeedToInformIncrementalMarker on_no_need, | 223 MacroAssembler* masm, OnNoNeedToInformIncrementalMarker on_no_need, |
224 Mode mode); | 224 Mode mode); |
225 void InformIncrementalMarker(MacroAssembler* masm); | 225 void InformIncrementalMarker(MacroAssembler* masm); |
226 | 226 |
227 void Activate(Code* code) { | 227 void Activate(Code* code) { |
228 code->GetHeap()->incremental_marking()->ActivateGeneratedStub(code); | 228 code->GetHeap()->incremental_marking()->ActivateGeneratedStub(code); |
229 } | 229 } |
230 | 230 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 | 316 |
317 class LookupModeBits : public BitField<LookupMode, 0, 1> {}; | 317 class LookupModeBits : public BitField<LookupMode, 0, 1> {}; |
318 | 318 |
319 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR(); | 319 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR(); |
320 DEFINE_PLATFORM_CODE_STUB(NameDictionaryLookup, PlatformCodeStub); | 320 DEFINE_PLATFORM_CODE_STUB(NameDictionaryLookup, PlatformCodeStub); |
321 }; | 321 }; |
322 } | 322 } |
323 } // namespace v8::internal | 323 } // namespace v8::internal |
324 | 324 |
325 #endif // V8_PPC_CODE_STUBS_PPC_H_ | 325 #endif // V8_PPC_CODE_STUBS_PPC_H_ |
OLD | NEW |