| 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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 | 332 |
| 333 // True iff the expression is a literal represented as a smi. | 333 // True iff the expression is a literal represented as a smi. |
| 334 bool IsSmiLiteral(); | 334 bool IsSmiLiteral(); |
| 335 | 335 |
| 336 // True iff the expression is a string literal. | 336 // True iff the expression is a string literal. |
| 337 bool IsStringLiteral(); | 337 bool IsStringLiteral(); |
| 338 | 338 |
| 339 // True iff the expression is the null literal. | 339 // True iff the expression is the null literal. |
| 340 bool IsNullLiteral(); | 340 bool IsNullLiteral(); |
| 341 | 341 |
| 342 // True iff the expression is the null literal. |
| 343 bool IsUndefinedLiteral(); |
| 344 |
| 342 // Type feedback information for assignments and properties. | 345 // Type feedback information for assignments and properties. |
| 343 virtual bool IsMonomorphic() { | 346 virtual bool IsMonomorphic() { |
| 344 UNREACHABLE(); | 347 UNREACHABLE(); |
| 345 return false; | 348 return false; |
| 346 } | 349 } |
| 347 virtual SmallMapList* GetReceiverTypes() { | 350 virtual SmallMapList* GetReceiverTypes() { |
| 348 UNREACHABLE(); | 351 UNREACHABLE(); |
| 349 return NULL; | 352 return NULL; |
| 350 } | 353 } |
| 351 Handle<Map> GetMonomorphicReceiverType() { | 354 Handle<Map> GetMonomorphicReceiverType() { |
| (...skipping 2671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3023 private: | 3026 private: |
| 3024 Isolate* isolate_; | 3027 Isolate* isolate_; |
| 3025 Zone* zone_; | 3028 Zone* zone_; |
| 3026 Visitor visitor_; | 3029 Visitor visitor_; |
| 3027 }; | 3030 }; |
| 3028 | 3031 |
| 3029 | 3032 |
| 3030 } } // namespace v8::internal | 3033 } } // namespace v8::internal |
| 3031 | 3034 |
| 3032 #endif // V8_AST_H_ | 3035 #endif // V8_AST_H_ |
| OLD | NEW |