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

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

Issue 3078033: Version 2.3.6 (Closed)
Patch Set: Created 10 years, 4 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/ic-x64.cc ('k') | src/x64/macro-assembler-x64.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 // Is the value a positive tagged smi. 277 // Is the value a positive tagged smi.
278 Condition CheckPositiveSmi(Register src); 278 Condition CheckPositiveSmi(Register src);
279 279
280 // Are both values tagged smis. 280 // Are both values tagged smis.
281 Condition CheckBothSmi(Register first, Register second); 281 Condition CheckBothSmi(Register first, Register second);
282 282
283 // Are both values tagged smis. 283 // Are both values tagged smis.
284 Condition CheckBothPositiveSmi(Register first, Register second); 284 Condition CheckBothPositiveSmi(Register first, Register second);
285 285
286 // Are either value a tagged smi. 286 // Are either value a tagged smi.
287 Condition CheckEitherSmi(Register first, Register second); 287 Condition CheckEitherSmi(Register first,
288 Register second,
289 Register scratch = kScratchRegister);
288 290
289 // Is the value the minimum smi value (since we are using 291 // Is the value the minimum smi value (since we are using
290 // two's complement numbers, negating the value is known to yield 292 // two's complement numbers, negating the value is known to yield
291 // a non-smi value). 293 // a non-smi value).
292 Condition CheckIsMinSmi(Register src); 294 Condition CheckIsMinSmi(Register src);
293 295
294 // Checks whether an 32-bit integer value is a valid for conversion 296 // Checks whether an 32-bit integer value is a valid for conversion
295 // to a smi. 297 // to a smi.
296 Condition CheckInteger32ValidSmiValue(Register src); 298 Condition CheckInteger32ValidSmiValue(Register src);
297 299
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
950 } \ 952 } \
951 masm-> 953 masm->
952 #else 954 #else
953 #define ACCESS_MASM(masm) masm-> 955 #define ACCESS_MASM(masm) masm->
954 #endif 956 #endif
955 957
956 958
957 } } // namespace v8::internal 959 } } // namespace v8::internal
958 960
959 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 961 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/ic-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698