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

Side by Side Diff: src/x87/macro-assembler-x87.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/x64/macro-assembler-x64.cc ('k') | test/cctest/test-alloc.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_X87 7 #if V8_TARGET_ARCH_X87
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 1306 matching lines...) Expand 10 before | Expand all | Expand 10 after
1317 j(equal, &done); 1317 j(equal, &done);
1318 } else { 1318 } else {
1319 j(not_equal, miss); 1319 j(not_equal, miss);
1320 } 1320 }
1321 } 1321 }
1322 1322
1323 bind(&done); 1323 bind(&done);
1324 // Check that the value is a field property. 1324 // Check that the value is a field property.
1325 const int kDetailsOffset = 1325 const int kDetailsOffset =
1326 SeededNumberDictionary::kElementsStartOffset + 2 * kPointerSize; 1326 SeededNumberDictionary::kElementsStartOffset + 2 * kPointerSize;
1327 DCHECK_EQ(FIELD, 0); 1327 DCHECK_EQ(DATA, 0);
1328 test(FieldOperand(elements, r2, times_pointer_size, kDetailsOffset), 1328 test(FieldOperand(elements, r2, times_pointer_size, kDetailsOffset),
1329 Immediate(PropertyDetails::TypeField::kMask << kSmiTagSize)); 1329 Immediate(PropertyDetails::TypeField::kMask << kSmiTagSize));
1330 j(not_zero, miss); 1330 j(not_zero, miss);
1331 1331
1332 // Get the value at the masked, scaled index. 1332 // Get the value at the masked, scaled index.
1333 const int kValueOffset = 1333 const int kValueOffset =
1334 SeededNumberDictionary::kElementsStartOffset + kPointerSize; 1334 SeededNumberDictionary::kElementsStartOffset + kPointerSize;
1335 mov(result, FieldOperand(elements, r2, times_pointer_size, kValueOffset)); 1335 mov(result, FieldOperand(elements, r2, times_pointer_size, kValueOffset));
1336 } 1336 }
1337 1337
(...skipping 2027 matching lines...) Expand 10 before | Expand all | Expand 10 after
3365 if (mag.shift > 0) sar(edx, mag.shift); 3365 if (mag.shift > 0) sar(edx, mag.shift);
3366 mov(eax, dividend); 3366 mov(eax, dividend);
3367 shr(eax, 31); 3367 shr(eax, 31);
3368 add(edx, eax); 3368 add(edx, eax);
3369 } 3369 }
3370 3370
3371 3371
3372 } } // namespace v8::internal 3372 } } // namespace v8::internal
3373 3373
3374 #endif // V8_TARGET_ARCH_X87 3374 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | test/cctest/test-alloc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698