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

Side by Side Diff: src/mips64/code-stubs-mips64.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/mips/code-stubs-mips.cc ('k') | src/mips64/code-stubs-mips64.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_MIPS_CODE_STUBS_MIPS64_H_ 5 #ifndef V8_MIPS_CODE_STUBS_MIPS64_H_
6 #define V8_MIPS_CODE_STUBS_MIPS64_H_ 6 #define V8_MIPS_CODE_STUBS_MIPS64_H_
7 7
8 #include "src/mips64/frames-mips64.h" 8 #include "src/mips64/frames-mips64.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 } 294 }
295 295
296 static void GenerateNegativeLookup(MacroAssembler* masm, 296 static void GenerateNegativeLookup(MacroAssembler* masm,
297 Label* miss, 297 Label* miss,
298 Label* done, 298 Label* done,
299 Register receiver, 299 Register receiver,
300 Register properties, 300 Register properties,
301 Handle<Name> name, 301 Handle<Name> name,
302 Register scratch0); 302 Register scratch0);
303 303
304 static void GeneratePositiveLookup(MacroAssembler* masm,
305 Label* miss,
306 Label* done,
307 Register elements,
308 Register name,
309 Register r0,
310 Register r1);
311
312 bool SometimesSetsUpAFrame() override { return false; } 304 bool SometimesSetsUpAFrame() override { return false; }
313 305
314 private: 306 private:
315 static const int kInlinedProbes = 4; 307 static const int kInlinedProbes = 4;
316 static const int kTotalProbes = 20; 308 static const int kTotalProbes = 20;
317 309
318 static const int kCapacityOffset = 310 static const int kCapacityOffset =
319 NameDictionary::kHeaderSize + 311 NameDictionary::kHeaderSize +
320 NameDictionary::kCapacityIndex * kPointerSize; 312 NameDictionary::kCapacityIndex * kPointerSize;
321 313
322 static const int kElementsStartOffset = 314 static const int kElementsStartOffset =
323 NameDictionary::kHeaderSize + 315 NameDictionary::kHeaderSize +
324 NameDictionary::kElementsStartIndex * kPointerSize; 316 NameDictionary::kElementsStartIndex * kPointerSize;
325 317
326 LookupMode mode() const { return LookupModeBits::decode(minor_key_); } 318 LookupMode mode() const { return LookupModeBits::decode(minor_key_); }
327 319
328 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; 320 class LookupModeBits: public BitField<LookupMode, 0, 1> {};
329 321
330 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR(); 322 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR();
331 DEFINE_PLATFORM_CODE_STUB(NameDictionaryLookup, PlatformCodeStub); 323 DEFINE_PLATFORM_CODE_STUB(NameDictionaryLookup, PlatformCodeStub);
332 }; 324 };
333 325
334 326
335 } // namespace internal 327 } // namespace internal
336 } // namespace v8 328 } // namespace v8
337 329
338 #endif // V8_MIPS_CODE_STUBS_MIPS64_H_ 330 #endif // V8_MIPS_CODE_STUBS_MIPS64_H_
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips64/code-stubs-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698