OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "api.h" | 7 #include "src/api.h" |
8 #include "ast.h" | 8 #include "src/ast.h" |
9 #include "bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "char-predicates-inl.h" | 10 #include "src/char-predicates-inl.h" |
11 #include "codegen.h" | 11 #include "src/codegen.h" |
12 #include "compiler.h" | 12 #include "src/compiler.h" |
13 #include "messages.h" | 13 #include "src/messages.h" |
14 #include "parser.h" | 14 #include "src/parser.h" |
15 #include "platform.h" | 15 #include "src/platform.h" |
16 #include "preparser.h" | 16 #include "src/preparser.h" |
17 #include "runtime.h" | 17 #include "src/runtime.h" |
18 #include "scanner-character-streams.h" | 18 #include "src/scanner-character-streams.h" |
19 #include "scopeinfo.h" | 19 #include "src/scopeinfo.h" |
20 #include "string-stream.h" | 20 #include "src/string-stream.h" |
21 | 21 |
22 namespace v8 { | 22 namespace v8 { |
23 namespace internal { | 23 namespace internal { |
24 | 24 |
25 RegExpBuilder::RegExpBuilder(Zone* zone) | 25 RegExpBuilder::RegExpBuilder(Zone* zone) |
26 : zone_(zone), | 26 : zone_(zone), |
27 pending_empty_(false), | 27 pending_empty_(false), |
28 characters_(NULL), | 28 characters_(NULL), |
29 terms_(), | 29 terms_(), |
30 alternatives_() | 30 alternatives_() |
(...skipping 4750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4781 ASSERT(info()->isolate()->has_pending_exception()); | 4781 ASSERT(info()->isolate()->has_pending_exception()); |
4782 } else { | 4782 } else { |
4783 result = ParseProgram(); | 4783 result = ParseProgram(); |
4784 } | 4784 } |
4785 } | 4785 } |
4786 info()->SetFunction(result); | 4786 info()->SetFunction(result); |
4787 return (result != NULL); | 4787 return (result != NULL); |
4788 } | 4788 } |
4789 | 4789 |
4790 } } // namespace v8::internal | 4790 } } // namespace v8::internal |
OLD | NEW |