Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(943)

Side by Side Diff: src/arm64/code-stubs-arm64.h

Issue 2622003004: [ic] Port {Load,Store}IC_Normal to TF (Closed)
Patch Set: fix nit Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm64/code-stubs-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 } 348 }
349 349
350 static void GenerateNegativeLookup(MacroAssembler* masm, 350 static void GenerateNegativeLookup(MacroAssembler* masm,
351 Label* miss, 351 Label* miss,
352 Label* done, 352 Label* done,
353 Register receiver, 353 Register receiver,
354 Register properties, 354 Register properties,
355 Handle<Name> name, 355 Handle<Name> name,
356 Register scratch0); 356 Register scratch0);
357 357
358 static void GeneratePositiveLookup(MacroAssembler* masm,
359 Label* miss,
360 Label* done,
361 Register elements,
362 Register name,
363 Register scratch1,
364 Register scratch2);
365
366 bool SometimesSetsUpAFrame() override { return false; } 358 bool SometimesSetsUpAFrame() override { return false; }
367 359
368 private: 360 private:
369 static const int kInlinedProbes = 4; 361 static const int kInlinedProbes = 4;
370 static const int kTotalProbes = 20; 362 static const int kTotalProbes = 20;
371 363
372 static const int kCapacityOffset = 364 static const int kCapacityOffset =
373 NameDictionary::kHeaderSize + 365 NameDictionary::kHeaderSize +
374 NameDictionary::kCapacityIndex * kPointerSize; 366 NameDictionary::kCapacityIndex * kPointerSize;
375 367
376 static const int kElementsStartOffset = 368 static const int kElementsStartOffset =
377 NameDictionary::kHeaderSize + 369 NameDictionary::kHeaderSize +
378 NameDictionary::kElementsStartIndex * kPointerSize; 370 NameDictionary::kElementsStartIndex * kPointerSize;
379 371
380 LookupMode mode() const { return LookupModeBits::decode(minor_key_); } 372 LookupMode mode() const { return LookupModeBits::decode(minor_key_); }
381 373
382 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; 374 class LookupModeBits: public BitField<LookupMode, 0, 1> {};
383 375
384 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR(); 376 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR();
385 DEFINE_PLATFORM_CODE_STUB(NameDictionaryLookup, PlatformCodeStub); 377 DEFINE_PLATFORM_CODE_STUB(NameDictionaryLookup, PlatformCodeStub);
386 }; 378 };
387 379
388 } // namespace internal 380 } // namespace internal
389 } // namespace v8 381 } // namespace v8
390 382
391 #endif // V8_ARM64_CODE_STUBS_ARM64_H_ 383 #endif // V8_ARM64_CODE_STUBS_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm64/code-stubs-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698