| Index: src/ast.h
|
| ===================================================================
|
| --- src/ast.h (revision 6170)
|
| +++ src/ast.h (working copy)
|
| @@ -1208,6 +1208,7 @@
|
| is_monomorphic_(false),
|
| receiver_types_(NULL),
|
| is_array_length_(false),
|
| + is_function_prototype_(false),
|
| is_arguments_access_(false) { }
|
|
|
| DECLARE_NODE_TYPE(Property)
|
| @@ -1220,6 +1221,8 @@
|
| int position() const { return pos_; }
|
| bool is_synthetic() const { return type_ == SYNTHETIC; }
|
|
|
| + bool IsFunctionPrototype() const { return is_function_prototype_; }
|
| +
|
| // Marks that this is actually an argument rewritten to a keyed property
|
| // accessing the argument through the arguments shadow object.
|
| void set_is_arguments_access(bool is_arguments_access) {
|
| @@ -1249,6 +1252,7 @@
|
| bool is_monomorphic_;
|
| ZoneMapList* receiver_types_;
|
| bool is_array_length_;
|
| + bool is_function_prototype_;
|
| bool is_arguments_access_;
|
| Handle<Map> monomorphic_receiver_type_;
|
|
|
| @@ -1391,7 +1395,7 @@
|
| : op_(op), left_(left), right_(right), pos_(pos), is_smi_only_(false) {
|
| ASSERT(Token::IsBinaryOp(op));
|
| right_id_ = (op == Token::AND || op == Token::OR)
|
| - ? GetNextId()
|
| + ? static_cast<int>(GetNextId())
|
| : AstNode::kNoNumber;
|
| }
|
|
|
|
|