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/compiler.h" | 5 #include "src/compiler.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/asmjs/asm-js.h" | 10 #include "src/asmjs/asm-js.h" |
11 #include "src/asmjs/asm-typer.h" | 11 #include "src/asmjs/asm-typer.h" |
12 #include "src/ast/ast-numbering.h" | 12 #include "src/ast/ast-numbering.h" |
13 #include "src/ast/prettyprinter.h" | 13 #include "src/ast/prettyprinter.h" |
14 #include "src/ast/scopeinfo.h" | |
15 #include "src/ast/scopes.h" | 14 #include "src/ast/scopes.h" |
16 #include "src/bootstrapper.h" | 15 #include "src/bootstrapper.h" |
17 #include "src/codegen.h" | 16 #include "src/codegen.h" |
18 #include "src/compilation-cache.h" | 17 #include "src/compilation-cache.h" |
19 #include "src/compiler/pipeline.h" | 18 #include "src/compiler/pipeline.h" |
20 #include "src/crankshaft/hydrogen.h" | 19 #include "src/crankshaft/hydrogen.h" |
21 #include "src/debug/debug.h" | 20 #include "src/debug/debug.h" |
22 #include "src/debug/liveedit.h" | 21 #include "src/debug/liveedit.h" |
23 #include "src/deoptimizer.h" | 22 #include "src/deoptimizer.h" |
24 #include "src/frames-inl.h" | 23 #include "src/frames-inl.h" |
(...skipping 1902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1927 DCHECK(shared->is_compiled()); | 1926 DCHECK(shared->is_compiled()); |
1928 function->set_literals(cached.literals); | 1927 function->set_literals(cached.literals); |
1929 } else if (shared->is_compiled()) { | 1928 } else if (shared->is_compiled()) { |
1930 // TODO(mvstanton): pass pretenure flag to EnsureLiterals. | 1929 // TODO(mvstanton): pass pretenure flag to EnsureLiterals. |
1931 JSFunction::EnsureLiterals(function); | 1930 JSFunction::EnsureLiterals(function); |
1932 } | 1931 } |
1933 } | 1932 } |
1934 | 1933 |
1935 } // namespace internal | 1934 } // namespace internal |
1936 } // namespace v8 | 1935 } // namespace v8 |
OLD | NEW |