Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index f88d992fc7acc019e16d1dd524f1e59a4fe4c121..f48ed1361e2e42496077cb59bf2ecc19de329811 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -29,6 +29,7 @@ |
#define V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
#include "assembler.h" |
+#include "v8globals.h" |
namespace v8 { |
namespace internal { |
@@ -211,7 +212,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 |
@@ -238,6 +239,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 scratch_reg, |
+ Register result_reg); |
+ |
+ |
// Smi tagging support. |
void SmiTag(Register reg) { |
ASSERT(kSmiTag == 0); |