| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 namespace v8 { | 34 namespace v8 { |
| 35 namespace internal { | 35 namespace internal { |
| 36 | 36 |
| 37 | 37 |
| 38 VariableProxySentinel VariableProxySentinel::this_proxy_(true); | 38 VariableProxySentinel VariableProxySentinel::this_proxy_(true); |
| 39 VariableProxySentinel VariableProxySentinel::identifier_proxy_(false); | 39 VariableProxySentinel VariableProxySentinel::identifier_proxy_(false); |
| 40 ValidLeftHandSideSentinel ValidLeftHandSideSentinel::instance_; | 40 ValidLeftHandSideSentinel ValidLeftHandSideSentinel::instance_; |
| 41 Property Property::this_property_(VariableProxySentinel::this_proxy(), NULL, 0); | 41 Property Property::this_property_(VariableProxySentinel::this_proxy(), NULL, 0); |
| 42 Call Call::sentinel_(NULL, NULL, 0); | 42 Call Call::sentinel_(NULL, NULL, 0); |
| 43 CallEval CallEval::sentinel_(NULL, NULL, 0); | |
| 44 | 43 |
| 45 | 44 |
| 46 // ---------------------------------------------------------------------------- | 45 // ---------------------------------------------------------------------------- |
| 47 // All the Accept member functions for each syntax tree node type. | 46 // All the Accept member functions for each syntax tree node type. |
| 48 | 47 |
| 49 #define DECL_ACCEPT(type) \ | 48 #define DECL_ACCEPT(type) \ |
| 50 void type::Accept(AstVisitor* v) { \ | 49 void type::Accept(AstVisitor* v) { \ |
| 51 if (v->CheckStackOverflow()) return; \ | 50 if (v->CheckStackOverflow()) return; \ |
| 52 v->Visit##type(this); \ | 51 v->Visit##type(this); \ |
| 53 } | 52 } |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 if (kInfinity - max_match_ < node_max_match) { | 502 if (kInfinity - max_match_ < node_max_match) { |
| 504 max_match_ = kInfinity; | 503 max_match_ = kInfinity; |
| 505 } else { | 504 } else { |
| 506 max_match_ += node->max_match(); | 505 max_match_ += node->max_match(); |
| 507 } | 506 } |
| 508 } | 507 } |
| 509 } | 508 } |
| 510 | 509 |
| 511 | 510 |
| 512 } } // namespace v8::internal | 511 } } // namespace v8::internal |
| OLD | NEW |