| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 Register character); | 113 Register character); |
| 114 | 114 |
| 115 static void GenerateHashGetHash(MacroAssembler* masm, | 115 static void GenerateHashGetHash(MacroAssembler* masm, |
| 116 Register hash); | 116 Register hash); |
| 117 | 117 |
| 118 private: | 118 private: |
| 119 DISALLOW_IMPLICIT_CONSTRUCTORS(StringHelper); | 119 DISALLOW_IMPLICIT_CONSTRUCTORS(StringHelper); |
| 120 }; | 120 }; |
| 121 | 121 |
| 122 | 122 |
| 123 class StringAddStub: public PlatformCodeStub { | |
| 124 public: | |
| 125 explicit StringAddStub(StringAddFlags flags) : flags_(flags) {} | |
| 126 | |
| 127 private: | |
| 128 Major MajorKey() { return StringAdd; } | |
| 129 int MinorKey() { return flags_; } | |
| 130 | |
| 131 void Generate(MacroAssembler* masm); | |
| 132 | |
| 133 void GenerateConvertArgument(MacroAssembler* masm, | |
| 134 int stack_offset, | |
| 135 Register arg, | |
| 136 Register scratch1, | |
| 137 Register scratch2, | |
| 138 Register scratch3, | |
| 139 Register scratch4, | |
| 140 Label* slow); | |
| 141 | |
| 142 void GenerateRegisterArgsPush(MacroAssembler* masm); | |
| 143 void GenerateRegisterArgsPop(MacroAssembler* masm); | |
| 144 | |
| 145 const StringAddFlags flags_; | |
| 146 }; | |
| 147 | |
| 148 | |
| 149 class SubStringStub: public PlatformCodeStub { | 123 class SubStringStub: public PlatformCodeStub { |
| 150 public: | 124 public: |
| 151 SubStringStub() {} | 125 SubStringStub() {} |
| 152 | 126 |
| 153 private: | 127 private: |
| 154 Major MajorKey() { return SubString; } | 128 Major MajorKey() { return SubString; } |
| 155 int MinorKey() { return 0; } | 129 int MinorKey() { return 0; } |
| 156 | 130 |
| 157 void Generate(MacroAssembler* masm); | 131 void Generate(MacroAssembler* masm); |
| 158 }; | 132 }; |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 | 493 |
| 520 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 494 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
| 521 | 495 |
| 522 LookupMode mode_; | 496 LookupMode mode_; |
| 523 }; | 497 }; |
| 524 | 498 |
| 525 | 499 |
| 526 } } // namespace v8::internal | 500 } } // namespace v8::internal |
| 527 | 501 |
| 528 #endif // V8_MIPS_CODE_STUBS_ARM_H_ | 502 #endif // V8_MIPS_CODE_STUBS_ARM_H_ |
| OLD | NEW |