| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 2050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2061 protected: | 2061 protected: |
| 2062 CompareOperation(Isolate* isolate, | 2062 CompareOperation(Isolate* isolate, |
| 2063 Token::Value op, | 2063 Token::Value op, |
| 2064 Expression* left, | 2064 Expression* left, |
| 2065 Expression* right, | 2065 Expression* right, |
| 2066 int pos) | 2066 int pos) |
| 2067 : Expression(isolate, pos), | 2067 : Expression(isolate, pos), |
| 2068 op_(op), | 2068 op_(op), |
| 2069 left_(left), | 2069 left_(left), |
| 2070 right_(right), | 2070 right_(right), |
| 2071 combined_type_(Type::None(), isolate) { | 2071 combined_type_(Type::None(isolate)) { |
| 2072 ASSERT(Token::IsCompareOp(op)); | 2072 ASSERT(Token::IsCompareOp(op)); |
| 2073 } | 2073 } |
| 2074 | 2074 |
| 2075 private: | 2075 private: |
| 2076 Token::Value op_; | 2076 Token::Value op_; |
| 2077 Expression* left_; | 2077 Expression* left_; |
| 2078 Expression* right_; | 2078 Expression* right_; |
| 2079 | 2079 |
| 2080 Handle<Type> combined_type_; | 2080 Handle<Type> combined_type_; |
| 2081 }; | 2081 }; |
| (...skipping 1217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3299 private: | 3299 private: |
| 3300 Isolate* isolate_; | 3300 Isolate* isolate_; |
| 3301 Zone* zone_; | 3301 Zone* zone_; |
| 3302 Visitor visitor_; | 3302 Visitor visitor_; |
| 3303 }; | 3303 }; |
| 3304 | 3304 |
| 3305 | 3305 |
| 3306 } } // namespace v8::internal | 3306 } } // namespace v8::internal |
| 3307 | 3307 |
| 3308 #endif // V8_AST_H_ | 3308 #endif // V8_AST_H_ |
| OLD | NEW |