Index: src/interpreter/interpreter-intrinsics.h |
diff --git a/src/interpreter/interpreter-intrinsics.h b/src/interpreter/interpreter-intrinsics.h |
index 9d842f384da11080bc1c698e6bb813b98e36f3f5..8606235a2e16d3300e1a7746b5468fd188ad468e 100644 |
--- a/src/interpreter/interpreter-intrinsics.h |
+++ b/src/interpreter/interpreter-intrinsics.h |
@@ -24,8 +24,12 @@ class Node; |
// expected number of arguments (-1 denoting argument count is variable). |
#define INTRINSICS_LIST(V) \ |
V(Call, call, -1) \ |
+ V(IsArray, is_array, 1) \ |
+ V(IsJSProxy, is_js_proxy, 1) \ |
V(IsJSReceiver, is_js_receiver, 1) \ |
- V(IsArray, is_array, 1) |
+ V(IsRegExp, is_regexp, 1) \ |
+ V(IsSmi, is_smi, 1) \ |
+ V(IsTypedArray, is_typed_array, 1) |
namespace interpreter { |
@@ -45,10 +49,11 @@ class IntrinsicsHelper { |
kInstanceTypeEqual, |
kInstanceTypeGreaterThanOrEqual |
}; |
+ |
+ compiler::Node* IsInstanceType(compiler::Node* input, int type); |
compiler::Node* CompareInstanceType(compiler::Node* map, int type, |
InstanceTypeCompareMode mode); |
void AbortIfArgCountMismatch(int expected, compiler::Node* actual); |
- InterpreterAssembler* assembler_; |
#define DECLARE_INTRINSIC_HELPER(name, lower_case, count) \ |
compiler::Node* name(compiler::Node* input, compiler::Node* arg_count, \ |
@@ -56,6 +61,8 @@ class IntrinsicsHelper { |
INTRINSICS_LIST(DECLARE_INTRINSIC_HELPER) |
#undef DECLARE_INTRINSIC_HELPER |
+ InterpreterAssembler* assembler_; |
+ |
DISALLOW_COPY_AND_ASSIGN(IntrinsicsHelper); |
}; |