Index: src/ia32/macro-assembler-ia32.h |
=================================================================== |
--- src/ia32/macro-assembler-ia32.h (revision 5357) |
+++ src/ia32/macro-assembler-ia32.h (working copy) |
@@ -274,6 +274,9 @@ |
// Abort execution if argument is a smi. Used in debug code. |
void AbortIfSmi(Register object); |
+ // Abort execution if argument is a string. Used in debug code. |
+ void AbortIfNotString(Register object); |
+ |
// --------------------------------------------------------------------------- |
// Exception handling |
@@ -403,6 +406,12 @@ |
// occurred. |
void IllegalOperation(int num_arguments); |
+ // Picks out an array index from the hash field. |
+ // Register use: |
+ // hash - holds the index's hash. Clobbered. |
+ // index - holds the overwritten index on exit. |
+ void IndexFromHash(Register hash, Register index); |
+ |
// --------------------------------------------------------------------------- |
// Runtime calls |