| 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_S390_CODE_STUBS_S390_H_ | 5 #ifndef V8_S390_CODE_STUBS_S390_H_ |
| 6 #define V8_S390_CODE_STUBS_S390_H_ | 6 #define V8_S390_CODE_STUBS_S390_H_ |
| 7 | 7 |
| 8 #include "src/s390/frames-s390.h" | 8 #include "src/s390/frames-s390.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 NameDictionaryLookupStub(Isolate* isolate, LookupMode mode) | 305 NameDictionaryLookupStub(Isolate* isolate, LookupMode mode) |
| 306 : PlatformCodeStub(isolate) { | 306 : PlatformCodeStub(isolate) { |
| 307 minor_key_ = LookupModeBits::encode(mode); | 307 minor_key_ = LookupModeBits::encode(mode); |
| 308 } | 308 } |
| 309 | 309 |
| 310 static void GenerateNegativeLookup(MacroAssembler* masm, Label* miss, | 310 static void GenerateNegativeLookup(MacroAssembler* masm, Label* miss, |
| 311 Label* done, Register receiver, | 311 Label* done, Register receiver, |
| 312 Register properties, Handle<Name> name, | 312 Register properties, Handle<Name> name, |
| 313 Register scratch0); | 313 Register scratch0); |
| 314 | 314 |
| 315 static void GeneratePositiveLookup(MacroAssembler* masm, Label* miss, | |
| 316 Label* done, Register elements, | |
| 317 Register name, Register r0, Register r1); | |
| 318 | |
| 319 bool SometimesSetsUpAFrame() override { return false; } | 315 bool SometimesSetsUpAFrame() override { return false; } |
| 320 | 316 |
| 321 private: | 317 private: |
| 322 static const int kInlinedProbes = 4; | 318 static const int kInlinedProbes = 4; |
| 323 static const int kTotalProbes = 20; | 319 static const int kTotalProbes = 20; |
| 324 | 320 |
| 325 static const int kCapacityOffset = | 321 static const int kCapacityOffset = |
| 326 NameDictionary::kHeaderSize + | 322 NameDictionary::kHeaderSize + |
| 327 NameDictionary::kCapacityIndex * kPointerSize; | 323 NameDictionary::kCapacityIndex * kPointerSize; |
| 328 | 324 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 static void LoadNumber(MacroAssembler* masm, Register object, | 445 static void LoadNumber(MacroAssembler* masm, Register object, |
| 450 DoubleRegister dst, Register heap_number_map, | 446 DoubleRegister dst, Register heap_number_map, |
| 451 Register scratch1, Register scratch2, | 447 Register scratch1, Register scratch2, |
| 452 Label* not_number); | 448 Label* not_number); |
| 453 }; | 449 }; |
| 454 | 450 |
| 455 } // namespace internal | 451 } // namespace internal |
| 456 } // namespace v8 | 452 } // namespace v8 |
| 457 | 453 |
| 458 #endif // V8_S390_CODE_STUBS_S390_H_ | 454 #endif // V8_S390_CODE_STUBS_S390_H_ |
| OLD | NEW |