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 19 matching lines...) Expand all Loading... |
30 | 30 |
31 #include "execution.h" | 31 #include "execution.h" |
32 #include "factory.h" | 32 #include "factory.h" |
33 #include "runtime.h" | 33 #include "runtime.h" |
34 #include "token.h" | 34 #include "token.h" |
35 #include "variables.h" | 35 #include "variables.h" |
36 #include "macro-assembler.h" | 36 #include "macro-assembler.h" |
37 #include "jsregexp.h" | 37 #include "jsregexp.h" |
38 #include "jump-target.h" | 38 #include "jump-target.h" |
39 | 39 |
40 namespace v8 { namespace internal { | 40 namespace v8 { |
| 41 namespace internal { |
41 | 42 |
42 // The abstract syntax tree is an intermediate, light-weight | 43 // The abstract syntax tree is an intermediate, light-weight |
43 // representation of the parsed JavaScript code suitable for | 44 // representation of the parsed JavaScript code suitable for |
44 // compilation to native code. | 45 // compilation to native code. |
45 | 46 |
46 // Nodes are allocated in a separate zone, which allows faster | 47 // Nodes are allocated in a separate zone, which allows faster |
47 // allocation and constant-time deallocation of the entire syntax | 48 // allocation and constant-time deallocation of the entire syntax |
48 // tree. | 49 // tree. |
49 | 50 |
50 | 51 |
(...skipping 1657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1708 #undef DEF_VISIT | 1709 #undef DEF_VISIT |
1709 | 1710 |
1710 private: | 1711 private: |
1711 bool stack_overflow_; | 1712 bool stack_overflow_; |
1712 }; | 1713 }; |
1713 | 1714 |
1714 | 1715 |
1715 } } // namespace v8::internal | 1716 } } // namespace v8::internal |
1716 | 1717 |
1717 #endif // V8_AST_H_ | 1718 #endif // V8_AST_H_ |
OLD | NEW |