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

Side by Side Diff: src/ia32/macro-assembler-ia32.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/hydrogen.cc ('k') | src/ic/handler-compiler.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 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 "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_IA32 7 #if V8_TARGET_ARCH_IA32
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/base/division-by-constant.h" 10 #include "src/base/division-by-constant.h"
(...skipping 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 j(equal, &done); 1352 j(equal, &done);
1353 } else { 1353 } else {
1354 j(not_equal, miss); 1354 j(not_equal, miss);
1355 } 1355 }
1356 } 1356 }
1357 1357
1358 bind(&done); 1358 bind(&done);
1359 // Check that the value is a field property. 1359 // Check that the value is a field property.
1360 const int kDetailsOffset = 1360 const int kDetailsOffset =
1361 SeededNumberDictionary::kElementsStartOffset + 2 * kPointerSize; 1361 SeededNumberDictionary::kElementsStartOffset + 2 * kPointerSize;
1362 DCHECK_EQ(FIELD, 0); 1362 DCHECK_EQ(DATA, 0);
1363 test(FieldOperand(elements, r2, times_pointer_size, kDetailsOffset), 1363 test(FieldOperand(elements, r2, times_pointer_size, kDetailsOffset),
1364 Immediate(PropertyDetails::TypeField::kMask << kSmiTagSize)); 1364 Immediate(PropertyDetails::TypeField::kMask << kSmiTagSize));
1365 j(not_zero, miss); 1365 j(not_zero, miss);
1366 1366
1367 // Get the value at the masked, scaled index. 1367 // Get the value at the masked, scaled index.
1368 const int kValueOffset = 1368 const int kValueOffset =
1369 SeededNumberDictionary::kElementsStartOffset + kPointerSize; 1369 SeededNumberDictionary::kElementsStartOffset + kPointerSize;
1370 mov(result, FieldOperand(elements, r2, times_pointer_size, kValueOffset)); 1370 mov(result, FieldOperand(elements, r2, times_pointer_size, kValueOffset));
1371 } 1371 }
1372 1372
(...skipping 2077 matching lines...) Expand 10 before | Expand all | Expand 10 after
3450 if (mag.shift > 0) sar(edx, mag.shift); 3450 if (mag.shift > 0) sar(edx, mag.shift);
3451 mov(eax, dividend); 3451 mov(eax, dividend);
3452 shr(eax, 31); 3452 shr(eax, 31);
3453 add(edx, eax); 3453 add(edx, eax);
3454 } 3454 }
3455 3455
3456 3456
3457 } } // namespace v8::internal 3457 } } // namespace v8::internal
3458 3458
3459 #endif // V8_TARGET_ARCH_IA32 3459 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ic/handler-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698