| 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 12 matching lines...) Expand all Loading... |
| 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | 27 |
| 28 #ifndef V8_AST_H_ | 28 #ifndef V8_AST_H_ |
| 29 #define V8_AST_H_ | 29 #define V8_AST_H_ |
| 30 | 30 |
| 31 #include "execution.h" | 31 #include "execution.h" |
| 32 #include "factory.h" | 32 #include "factory.h" |
| 33 #include "jsregexp.h" |
| 34 #include "jump-target.h" |
| 33 #include "runtime.h" | 35 #include "runtime.h" |
| 34 #include "token.h" | 36 #include "token.h" |
| 35 #include "variables.h" | 37 #include "variables.h" |
| 36 #include "macro-assembler.h" | |
| 37 #include "jsregexp.h" | |
| 38 #include "jump-target.h" | |
| 39 | 38 |
| 40 namespace v8 { | 39 namespace v8 { |
| 41 namespace internal { | 40 namespace internal { |
| 42 | 41 |
| 43 // The abstract syntax tree is an intermediate, light-weight | 42 // The abstract syntax tree is an intermediate, light-weight |
| 44 // representation of the parsed JavaScript code suitable for | 43 // representation of the parsed JavaScript code suitable for |
| 45 // compilation to native code. | 44 // compilation to native code. |
| 46 | 45 |
| 47 // Nodes are allocated in a separate zone, which allows faster | 46 // Nodes are allocated in a separate zone, which allows faster |
| 48 // allocation and constant-time deallocation of the entire syntax | 47 // allocation and constant-time deallocation of the entire syntax |
| (...skipping 1705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1754 #undef DEF_VISIT | 1753 #undef DEF_VISIT |
| 1755 | 1754 |
| 1756 private: | 1755 private: |
| 1757 bool stack_overflow_; | 1756 bool stack_overflow_; |
| 1758 }; | 1757 }; |
| 1759 | 1758 |
| 1760 | 1759 |
| 1761 } } // namespace v8::internal | 1760 } } // namespace v8::internal |
| 1762 | 1761 |
| 1763 #endif // V8_AST_H_ | 1762 #endif // V8_AST_H_ |
| OLD | NEW |