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

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

Issue 9378006: Make sure that top bits are zero when storing untagged 32 bit values (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 8 years, 10 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/x64/lithium-gap-resolver-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 931 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 // Abort execution if argument is not a number. Used in debug code. 942 // Abort execution if argument is not a number. Used in debug code.
943 void AbortIfNotNumber(Register object); 943 void AbortIfNotNumber(Register object);
944 944
945 // Abort execution if argument is a smi. Used in debug code. 945 // Abort execution if argument is a smi. Used in debug code.
946 void AbortIfSmi(Register object); 946 void AbortIfSmi(Register object);
947 947
948 // Abort execution if argument is not a smi. Used in debug code. 948 // Abort execution if argument is not a smi. Used in debug code.
949 void AbortIfNotSmi(Register object); 949 void AbortIfNotSmi(Register object);
950 void AbortIfNotSmi(const Operand& object); 950 void AbortIfNotSmi(const Operand& object);
951 951
952 // Abort execution if a 64 bit register containing a 32 bit payload does not
953 // have zeros in the top 32 bits.
954 void AbortIfNotZeroExtended(Register reg);
955
952 // Abort execution if argument is a string. Used in debug code. 956 // Abort execution if argument is a string. Used in debug code.
953 void AbortIfNotString(Register object); 957 void AbortIfNotString(Register object);
954 958
955 // Abort execution if argument is not the root value with the given index. 959 // Abort execution if argument is not the root value with the given index.
956 void AbortIfNotRootValue(Register src, 960 void AbortIfNotRootValue(Register src,
957 Heap::RootListIndex root_value_index, 961 Heap::RootListIndex root_value_index,
958 const char* message); 962 const char* message);
959 963
960 // --------------------------------------------------------------------------- 964 // ---------------------------------------------------------------------------
961 // Exception handling 965 // Exception handling
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
1465 masm->popfd(); \ 1469 masm->popfd(); \
1466 } \ 1470 } \
1467 masm-> 1471 masm->
1468 #else 1472 #else
1469 #define ACCESS_MASM(masm) masm-> 1473 #define ACCESS_MASM(masm) masm->
1470 #endif 1474 #endif
1471 1475
1472 } } // namespace v8::internal 1476 } } // namespace v8::internal
1473 1477
1474 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1478 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-gap-resolver-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698