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

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

Issue 7891042: Add asserts to ensure that we: (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/arm/code-stubs-arm.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 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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 Register scratch0); 568 Register scratch0);
569 569
570 static void GeneratePositiveLookup(MacroAssembler* masm, 570 static void GeneratePositiveLookup(MacroAssembler* masm,
571 Label* miss, 571 Label* miss,
572 Label* done, 572 Label* done,
573 Register elements, 573 Register elements,
574 Register name, 574 Register name,
575 Register r0, 575 Register r0,
576 Register r1); 576 Register r1);
577 577
578 virtual bool SometimesSetsUpAFrame() { return false; }
579
578 private: 580 private:
579 static const int kInlinedProbes = 4; 581 static const int kInlinedProbes = 4;
580 static const int kTotalProbes = 20; 582 static const int kTotalProbes = 20;
581 583
582 static const int kCapacityOffset = 584 static const int kCapacityOffset =
583 StringDictionary::kHeaderSize + 585 StringDictionary::kHeaderSize +
584 StringDictionary::kCapacityIndex * kPointerSize; 586 StringDictionary::kCapacityIndex * kPointerSize;
585 587
586 static const int kElementsStartOffset = 588 static const int kElementsStartOffset =
587 StringDictionary::kHeaderSize + 589 StringDictionary::kHeaderSize +
588 StringDictionary::kElementsStartIndex * kPointerSize; 590 StringDictionary::kElementsStartIndex * kPointerSize;
589 591
590 Major MajorKey() { return StringDictionaryNegativeLookup; } 592 Major MajorKey() { return StringDictionaryLookup; }
591 593
592 int MinorKey() { 594 int MinorKey() {
593 return LookupModeBits::encode(mode_); 595 return LookupModeBits::encode(mode_);
594 } 596 }
595 597
596 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; 598 class LookupModeBits: public BitField<LookupMode, 0, 1> {};
597 599
598 LookupMode mode_; 600 LookupMode mode_;
599 }; 601 };
600 602
601 603
602 } } // namespace v8::internal 604 } } // namespace v8::internal
603 605
604 #endif // V8_ARM_CODE_STUBS_ARM_H_ 606 #endif // V8_ARM_CODE_STUBS_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/arm/code-stubs-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698