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 "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/api.h" | 7 #include "src/api.h" |
8 #include "src/ast.h" | 8 #include "src/ast.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/base/platform/platform.h" | 10 #include "src/base/platform/platform.h" |
11 #include "src/bootstrapper.h" | 11 #include "src/bootstrapper.h" |
12 #include "src/char-predicates-inl.h" | 12 #include "src/char-predicates-inl.h" |
13 #include "src/codegen.h" | 13 #include "src/codegen.h" |
14 #include "src/compiler.h" | 14 #include "src/compiler.h" |
15 #include "src/messages.h" | 15 #include "src/messages.h" |
16 #include "src/parser.h" | 16 #include "src/parser.h" |
17 #include "src/preparser.h" | 17 #include "src/preparser.h" |
18 #include "src/runtime.h" | 18 #include "src/runtime/runtime.h" |
19 #include "src/scanner-character-streams.h" | 19 #include "src/scanner-character-streams.h" |
20 #include "src/scopeinfo.h" | 20 #include "src/scopeinfo.h" |
21 #include "src/string-stream.h" | 21 #include "src/string-stream.h" |
22 | 22 |
23 namespace v8 { | 23 namespace v8 { |
24 namespace internal { | 24 namespace internal { |
25 | 25 |
26 RegExpBuilder::RegExpBuilder(Zone* zone) | 26 RegExpBuilder::RegExpBuilder(Zone* zone) |
27 : zone_(zone), | 27 : zone_(zone), |
28 pending_empty_(false), | 28 pending_empty_(false), |
(...skipping 4926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4955 | 4955 |
4956 // We cannot internalize on a background thread; a foreground task will take | 4956 // We cannot internalize on a background thread; a foreground task will take |
4957 // care of calling Parser::Internalize just before compilation. | 4957 // care of calling Parser::Internalize just before compilation. |
4958 | 4958 |
4959 if (compile_options() == ScriptCompiler::kProduceParserCache) { | 4959 if (compile_options() == ScriptCompiler::kProduceParserCache) { |
4960 if (result != NULL) *info_->cached_data() = recorder.GetScriptData(); | 4960 if (result != NULL) *info_->cached_data() = recorder.GetScriptData(); |
4961 log_ = NULL; | 4961 log_ = NULL; |
4962 } | 4962 } |
4963 } | 4963 } |
4964 } } // namespace v8::internal | 4964 } } // namespace v8::internal |
OLD | NEW |