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/parser.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/ast-literal-reindexer.h" | 9 #include "src/ast-literal-reindexer.h" |
10 #include "src/bailout-reason.h" | 10 #include "src/bailout-reason.h" |
11 #include "src/base/platform/platform.h" | 11 #include "src/base/platform/platform.h" |
12 #include "src/bootstrapper.h" | 12 #include "src/bootstrapper.h" |
13 #include "src/char-predicates-inl.h" | 13 #include "src/char-predicates-inl.h" |
14 #include "src/codegen.h" | 14 #include "src/codegen.h" |
15 #include "src/compiler.h" | 15 #include "src/compiler.h" |
16 #include "src/messages.h" | 16 #include "src/messages.h" |
17 #include "src/parser.h" | |
18 #include "src/preparser.h" | 17 #include "src/preparser.h" |
19 #include "src/runtime/runtime.h" | 18 #include "src/runtime/runtime.h" |
20 #include "src/scanner-character-streams.h" | 19 #include "src/scanner-character-streams.h" |
21 #include "src/scopeinfo.h" | 20 #include "src/scopeinfo.h" |
22 #include "src/string-stream.h" | 21 #include "src/string-stream.h" |
23 | 22 |
24 namespace v8 { | 23 namespace v8 { |
25 namespace internal { | 24 namespace internal { |
26 | 25 |
27 ScriptData::ScriptData(const byte* data, int length) | 26 ScriptData::ScriptData(const byte* data, int length) |
(...skipping 5987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6015 Expression* Parser::SpreadCallNew(Expression* function, | 6014 Expression* Parser::SpreadCallNew(Expression* function, |
6016 ZoneList<v8::internal::Expression*>* args, | 6015 ZoneList<v8::internal::Expression*>* args, |
6017 int pos) { | 6016 int pos) { |
6018 args->InsertAt(0, function, zone()); | 6017 args->InsertAt(0, function, zone()); |
6019 | 6018 |
6020 return factory()->NewCallRuntime( | 6019 return factory()->NewCallRuntime( |
6021 ast_value_factory()->reflect_construct_string(), NULL, args, pos); | 6020 ast_value_factory()->reflect_construct_string(), NULL, args, pos); |
6022 } | 6021 } |
6023 } // namespace internal | 6022 } // namespace internal |
6024 } // namespace v8 | 6023 } // namespace v8 |
OLD | NEW |