| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64_CODE_STUBS_ARM64_H_ | 5 #ifndef V8_ARM64_CODE_STUBS_ARM64_H_ |
| 6 #define V8_ARM64_CODE_STUBS_ARM64_H_ | 6 #define V8_ARM64_CODE_STUBS_ARM64_H_ |
| 7 | 7 |
| 8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 SaveFPRegsMode save_fp_regs_mode() const { | 326 SaveFPRegsMode save_fp_regs_mode() const { |
| 327 return SaveFPRegsModeBits::decode(minor_key_); | 327 return SaveFPRegsModeBits::decode(minor_key_); |
| 328 } | 328 } |
| 329 | 329 |
| 330 class ObjectBits: public BitField<int, 0, 5> {}; | 330 class ObjectBits: public BitField<int, 0, 5> {}; |
| 331 class ValueBits: public BitField<int, 5, 5> {}; | 331 class ValueBits: public BitField<int, 5, 5> {}; |
| 332 class AddressBits: public BitField<int, 10, 5> {}; | 332 class AddressBits: public BitField<int, 10, 5> {}; |
| 333 class RememberedSetActionBits: public BitField<RememberedSetAction, 15, 1> {}; | 333 class RememberedSetActionBits: public BitField<RememberedSetAction, 15, 1> {}; |
| 334 class SaveFPRegsModeBits: public BitField<SaveFPRegsMode, 16, 1> {}; | 334 class SaveFPRegsModeBits: public BitField<SaveFPRegsMode, 16, 1> {}; |
| 335 | 335 |
| 336 Register object_; | |
| 337 Register value_; | |
| 338 Register address_; | |
| 339 RememberedSetAction remembered_set_action_; | |
| 340 SaveFPRegsMode save_fp_regs_mode_; | |
| 341 Label slow_; | 336 Label slow_; |
| 342 RegisterAllocation regs_; | 337 RegisterAllocation regs_; |
| 343 }; | 338 }; |
| 344 | 339 |
| 345 | 340 |
| 346 // Helper to call C++ functions from generated code. The caller must prepare | 341 // Helper to call C++ functions from generated code. The caller must prepare |
| 347 // the exit frame before doing the call with GenerateCall. | 342 // the exit frame before doing the call with GenerateCall. |
| 348 class DirectCEntryStub: public PlatformCodeStub { | 343 class DirectCEntryStub: public PlatformCodeStub { |
| 349 public: | 344 public: |
| 350 explicit DirectCEntryStub(Isolate* isolate) : PlatformCodeStub(isolate) {} | 345 explicit DirectCEntryStub(Isolate* isolate) : PlatformCodeStub(isolate) {} |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 LookupMode mode() const { return LookupModeBits::decode(minor_key_); } | 401 LookupMode mode() const { return LookupModeBits::decode(minor_key_); } |
| 407 | 402 |
| 408 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 403 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
| 409 | 404 |
| 410 DISALLOW_COPY_AND_ASSIGN(NameDictionaryLookupStub); | 405 DISALLOW_COPY_AND_ASSIGN(NameDictionaryLookupStub); |
| 411 }; | 406 }; |
| 412 | 407 |
| 413 } } // namespace v8::internal | 408 } } // namespace v8::internal |
| 414 | 409 |
| 415 #endif // V8_ARM64_CODE_STUBS_ARM64_H_ | 410 #endif // V8_ARM64_CODE_STUBS_ARM64_H_ |
| OLD | NEW |