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

Side by Side Diff: src/ia32/code-stubs-ia32.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/builtins/builtins-handler.cc ('k') | src/ia32/code-stubs-ia32.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 // 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_IA32_CODE_STUBS_IA32_H_ 5 #ifndef V8_IA32_CODE_STUBS_IA32_H_
6 #define V8_IA32_CODE_STUBS_IA32_H_ 6 #define V8_IA32_CODE_STUBS_IA32_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 IndexBits::encode(index.code()) | LookupModeBits::encode(mode); 51 IndexBits::encode(index.code()) | LookupModeBits::encode(mode);
52 } 52 }
53 53
54 static void GenerateNegativeLookup(MacroAssembler* masm, 54 static void GenerateNegativeLookup(MacroAssembler* masm,
55 Label* miss, 55 Label* miss,
56 Label* done, 56 Label* done,
57 Register properties, 57 Register properties,
58 Handle<Name> name, 58 Handle<Name> name,
59 Register r0); 59 Register r0);
60 60
61 static void GeneratePositiveLookup(MacroAssembler* masm,
62 Label* miss,
63 Label* done,
64 Register elements,
65 Register name,
66 Register r0,
67 Register r1);
68
69 bool SometimesSetsUpAFrame() override { return false; } 61 bool SometimesSetsUpAFrame() override { return false; }
70 62
71 private: 63 private:
72 static const int kInlinedProbes = 4; 64 static const int kInlinedProbes = 4;
73 static const int kTotalProbes = 20; 65 static const int kTotalProbes = 20;
74 66
75 static const int kCapacityOffset = 67 static const int kCapacityOffset =
76 NameDictionary::kHeaderSize + 68 NameDictionary::kHeaderSize +
77 NameDictionary::kCapacityIndex * kPointerSize; 69 NameDictionary::kCapacityIndex * kPointerSize;
78 70
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 RegisterAllocation regs_; 346 RegisterAllocation regs_;
355 347
356 DISALLOW_COPY_AND_ASSIGN(RecordWriteStub); 348 DISALLOW_COPY_AND_ASSIGN(RecordWriteStub);
357 }; 349 };
358 350
359 351
360 } // namespace internal 352 } // namespace internal
361 } // namespace v8 353 } // namespace v8
362 354
363 #endif // V8_IA32_CODE_STUBS_IA32_H_ 355 #endif // V8_IA32_CODE_STUBS_IA32_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-handler.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698