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

Side by Side Diff: src/ia32/macro-assembler-ia32.h

Issue 278883002: [Sheriff] This reverts commits r21225 and r21226 for breaking Linux64 build. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/macro-assembler-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 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 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_
7 7
8 #include "assembler.h" 8 #include "assembler.h"
9 #include "frames.h" 9 #include "frames.h"
10 #include "v8globals.h" 10 #include "v8globals.h"
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 j(not_zero, not_smi_label, distance); 488 j(not_zero, not_smi_label, distance);
489 } 489 }
490 490
491 void LoadInstanceDescriptors(Register map, Register descriptors); 491 void LoadInstanceDescriptors(Register map, Register descriptors);
492 void EnumLength(Register dst, Register map); 492 void EnumLength(Register dst, Register map);
493 void NumberOfOwnDescriptors(Register dst, Register map); 493 void NumberOfOwnDescriptors(Register dst, Register map);
494 494
495 template<typename Field> 495 template<typename Field>
496 void DecodeField(Register reg) { 496 void DecodeField(Register reg) {
497 static const int shift = Field::kShift; 497 static const int shift = Field::kShift;
498 static const int mask = Field::kMask >> Field::kShift; 498 static const int mask = (Field::kMask >> Field::kShift) << kSmiTagSize;
499 sar(reg, shift); 499 sar(reg, shift);
500 and_(reg, Immediate(mask)); 500 and_(reg, Immediate(mask));
501 } 501 }
502 void LoadPowerOf2(XMMRegister dst, Register scratch, int power); 502 void LoadPowerOf2(XMMRegister dst, Register scratch, int power);
503 503
504 // Abort execution if argument is not a number, enabled via --debug-code. 504 // Abort execution if argument is not a number, enabled via --debug-code.
505 void AssertNumber(Register object); 505 void AssertNumber(Register object);
506 506
507 // Abort execution if argument is not a smi, enabled via --debug-code. 507 // Abort execution if argument is not a smi, enabled via --debug-code.
508 void AssertSmi(Register object); 508 void AssertSmi(Register object);
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 } \ 1082 } \
1083 masm-> 1083 masm->
1084 #else 1084 #else
1085 #define ACCESS_MASM(masm) masm-> 1085 #define ACCESS_MASM(masm) masm->
1086 #endif 1086 #endif
1087 1087
1088 1088
1089 } } // namespace v8::internal 1089 } } // namespace v8::internal
1090 1090
1091 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1091 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698