| 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 { | 
| 11 namespace internal { | 11 namespace internal { | 
| 12 | 12 | 
| 13 | 13 | 
| 14 void ArrayNativeCode(MacroAssembler* masm, Label* call_generic_code); | 14 void ArrayNativeCode(MacroAssembler* masm, Label* call_generic_code); | 
| 15 | 15 | 
| 16 | 16 | 
| 17 class StringHelper : public AllStatic { | 17 class StringHelper : public AllStatic { | 
| 18  public: | 18  public: | 
| 19   // TODO(all): These don't seem to be used any more. Delete them. |  | 
| 20 |  | 
| 21   // Generate string hash. |  | 
| 22   static void GenerateHashInit(MacroAssembler* masm, |  | 
| 23                                Register hash, |  | 
| 24                                Register character); |  | 
| 25 |  | 
| 26   static void GenerateHashAddCharacter(MacroAssembler* masm, |  | 
| 27                                        Register hash, |  | 
| 28                                        Register character); |  | 
| 29 |  | 
| 30   static void GenerateHashGetHash(MacroAssembler* masm, |  | 
| 31                                   Register hash, |  | 
| 32                                   Register scratch); |  | 
| 33 |  | 
| 34   // Compares two flat ASCII strings and returns result in x0. | 19   // Compares two flat ASCII strings and returns result in x0. | 
| 35   static void GenerateCompareFlatAsciiStrings( | 20   static void GenerateCompareFlatAsciiStrings( | 
| 36       MacroAssembler* masm, Register left, Register right, Register scratch1, | 21       MacroAssembler* masm, Register left, Register right, Register scratch1, | 
| 37       Register scratch2, Register scratch3, Register scratch4); | 22       Register scratch2, Register scratch3, Register scratch4); | 
| 38 | 23 | 
| 39   // Compare two flat ASCII strings for equality and returns result in x0. | 24   // Compare two flat ASCII strings for equality and returns result in x0. | 
| 40   static void GenerateFlatAsciiStringEquals(MacroAssembler* masm, Register left, | 25   static void GenerateFlatAsciiStringEquals(MacroAssembler* masm, Register left, | 
| 41                                             Register right, Register scratch1, | 26                                             Register right, Register scratch1, | 
| 42                                             Register scratch2, | 27                                             Register scratch2, | 
| 43                                             Register scratch3); | 28                                             Register scratch3); | 
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 402   LookupMode mode() const { return LookupModeBits::decode(minor_key_); } | 387   LookupMode mode() const { return LookupModeBits::decode(minor_key_); } | 
| 403 | 388 | 
| 404   class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 389   class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 
| 405 | 390 | 
| 406   DISALLOW_COPY_AND_ASSIGN(NameDictionaryLookupStub); | 391   DISALLOW_COPY_AND_ASSIGN(NameDictionaryLookupStub); | 
| 407 }; | 392 }; | 
| 408 | 393 | 
| 409 } }  // namespace v8::internal | 394 } }  // namespace v8::internal | 
| 410 | 395 | 
| 411 #endif  // V8_ARM64_CODE_STUBS_ARM64_H_ | 396 #endif  // V8_ARM64_CODE_STUBS_ARM64_H_ | 
| OLD | NEW | 
|---|