Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index bbb6e2183286cbbdbe09294e4041781e3308aee1..b5bb6365d3c8deb8f07f640e392ac485214c23e7 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -503,6 +503,9 @@ class MacroAssembler: public Assembler { |
// Abort execution if argument is not a number. Used in debug code. |
void AbortIfNotNumber(Register object, const char* msg); |
+ // Abort execution if argument is not a smi. Used in debug code. |
+ void AbortIfNotSmi(Register object, const char* msg); |
+ |
// --------------------------------------------------------------------------- |
// Exception handling |