Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index 2d9c95081b5227af5cad5f0e6925c74e7d87b51e..9cc774873d6d98af8308c5a46eea1c2a95e4c519 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -1427,6 +1427,18 @@ class MacroAssembler: public Assembler { |
// ------------------------------------------------------------------------- |
// String utilities. |
+ // Generate code to do a lookup in the number string cache. If the number in |
+ // the register object is found in the cache the generated code falls through |
+ // with the result in the result register. The object and the result register |
+ // can be the same. If the number is not found in the cache the code jumps to |
+ // the label not_found with only the content of register object unchanged. |
+ void LookupNumberStringCache(Register object, |
+ Register result, |
+ Register scratch1, |
+ Register scratch2, |
+ Register scratch3, |
+ Label* not_found); |
+ |
// Checks if both instance types are sequential ASCII strings and jumps to |
// label if either is not. |
void JumpIfBothInstanceTypesAreNotSequentialAscii( |