Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 719c8d3d99e0c7f7a250ad904e3f3c1624dcad89..0e46253af98e2ed67ffe80cee1548873d88fb701 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -29,6 +29,7 @@ |
#define V8_X64_MACRO_ASSEMBLER_X64_H_ |
#include "assembler.h" |
+#include "v8globals.h" |
namespace v8 { |
namespace internal { |
@@ -749,7 +750,7 @@ class MacroAssembler: public Assembler { |
void CheckMap(Register obj, |
Handle<Map> map, |
Label* fail, |
- bool is_heap_object); |
+ SmiCheckType smi_check_type); |
// Check if the object in register heap_object is a string. Afterwards the |
// register map contains the object map and the register instance_type |
@@ -765,6 +766,13 @@ class MacroAssembler: public Assembler { |
// jcc instructions (je, ja, jae, jb, jbe, je, and jz). |
void FCmp(); |
+ void ClampUint8(Register reg); |
+ |
+ void ClampDoubleToUint8(XMMRegister input_reg, |
+ XMMRegister temp_xmm_reg, |
+ Register result_reg, |
+ Register temp_reg); |
+ |
// Abort execution if argument is not a number. Used in debug code. |
void AbortIfNotNumber(Register object); |