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

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

Issue 1818923002: [stubs] Split ToNumberStub into reusable subparts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE Created 4 years, 9 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/ia32/code-stubs-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 "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 } else if (shift > kSmiTagSize) { 538 } else if (shift > kSmiTagSize) {
539 sar(reg, shift - kSmiTagSize); 539 sar(reg, shift - kSmiTagSize);
540 } 540 }
541 and_(reg, Immediate(mask)); 541 and_(reg, Immediate(mask));
542 } 542 }
543 543
544 void LoadPowerOf2(XMMRegister dst, Register scratch, int power); 544 void LoadPowerOf2(XMMRegister dst, Register scratch, int power);
545 545
546 // Abort execution if argument is not a number, enabled via --debug-code. 546 // Abort execution if argument is not a number, enabled via --debug-code.
547 void AssertNumber(Register object); 547 void AssertNumber(Register object);
548 void AssertNotNumber(Register object);
548 549
549 // Abort execution if argument is not a smi, enabled via --debug-code. 550 // Abort execution if argument is not a smi, enabled via --debug-code.
550 void AssertSmi(Register object); 551 void AssertSmi(Register object);
551 552
552 // Abort execution if argument is a smi, enabled via --debug-code. 553 // Abort execution if argument is a smi, enabled via --debug-code.
553 void AssertNotSmi(Register object); 554 void AssertNotSmi(Register object);
554 555
555 // Abort execution if argument is not a string, enabled via --debug-code. 556 // Abort execution if argument is not a string, enabled via --debug-code.
556 void AssertString(Register object); 557 void AssertString(Register object);
557 558
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 } \ 1047 } \
1047 masm-> 1048 masm->
1048 #else 1049 #else
1049 #define ACCESS_MASM(masm) masm-> 1050 #define ACCESS_MASM(masm) masm->
1050 #endif 1051 #endif
1051 1052
1052 } // namespace internal 1053 } // namespace internal
1053 } // namespace v8 1054 } // namespace v8
1054 1055
1055 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1056 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698