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

Side by Side Diff: src/mips64/macro-assembler-mips64.cc

Issue 856503002: Massive renaming of PropertyType values and other implied stuff. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Spurious file addition fixed Created 5 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/macro-assembler-mips.cc ('k') | src/mirror-debugger.js » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #include <limits.h> // For LONG_MIN, LONG_MAX. 5 #include <limits.h> // For LONG_MIN, LONG_MAX.
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 Branch(miss, ne, key, Operand(at)); 594 Branch(miss, ne, key, Operand(at));
595 } 595 }
596 } 596 }
597 597
598 bind(&done); 598 bind(&done);
599 // Check that the value is a field property. 599 // Check that the value is a field property.
600 // reg2: elements + (index * kPointerSize). 600 // reg2: elements + (index * kPointerSize).
601 const int kDetailsOffset = 601 const int kDetailsOffset =
602 SeededNumberDictionary::kElementsStartOffset + 2 * kPointerSize; 602 SeededNumberDictionary::kElementsStartOffset + 2 * kPointerSize;
603 ld(reg1, FieldMemOperand(reg2, kDetailsOffset)); 603 ld(reg1, FieldMemOperand(reg2, kDetailsOffset));
604 DCHECK_EQ(FIELD, 0); 604 DCHECK_EQ(DATA, 0);
605 And(at, reg1, Operand(Smi::FromInt(PropertyDetails::TypeField::kMask))); 605 And(at, reg1, Operand(Smi::FromInt(PropertyDetails::TypeField::kMask)));
606 Branch(miss, ne, at, Operand(zero_reg)); 606 Branch(miss, ne, at, Operand(zero_reg));
607 607
608 // Get the value at the masked, scaled index and return. 608 // Get the value at the masked, scaled index and return.
609 const int kValueOffset = 609 const int kValueOffset =
610 SeededNumberDictionary::kElementsStartOffset + kPointerSize; 610 SeededNumberDictionary::kElementsStartOffset + kPointerSize;
611 ld(result, FieldMemOperand(reg2, kValueOffset)); 611 ld(result, FieldMemOperand(reg2, kValueOffset));
612 } 612 }
613 613
614 614
(...skipping 5701 matching lines...) Expand 10 before | Expand all | Expand 10 after
6316 } 6316 }
6317 if (mag.shift > 0) sra(result, result, mag.shift); 6317 if (mag.shift > 0) sra(result, result, mag.shift);
6318 srl(at, dividend, 31); 6318 srl(at, dividend, 31);
6319 Addu(result, result, Operand(at)); 6319 Addu(result, result, Operand(at));
6320 } 6320 }
6321 6321
6322 6322
6323 } } // namespace v8::internal 6323 } } // namespace v8::internal
6324 6324
6325 #endif // V8_TARGET_ARCH_MIPS64 6325 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/mirror-debugger.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698