Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index adda9fe773cf571f3656f27173ebfa112fd29692..e984b2cad973f8da485cb030d89fabc95757c25e 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -897,6 +897,17 @@ 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, |
+ Label* not_found); |
+ |
// Check whether the instance type represents a flat ASCII string. Jump to the |
// label if not. If the instance type can be scratched specify same register |
// for both instance type and scratch. |