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 | 8 |
9 #include "src/asmjs/asm-js.h" | 9 #include "src/asmjs/asm-js.h" |
10 #include "src/asmjs/typing-asm.h" | 10 #include "src/asmjs/asm-typer.h" |
11 #include "src/ast/ast-numbering.h" | 11 #include "src/ast/ast-numbering.h" |
12 #include "src/ast/prettyprinter.h" | 12 #include "src/ast/prettyprinter.h" |
13 #include "src/ast/scopeinfo.h" | 13 #include "src/ast/scopeinfo.h" |
14 #include "src/ast/scopes.h" | 14 #include "src/ast/scopes.h" |
15 #include "src/bootstrapper.h" | 15 #include "src/bootstrapper.h" |
16 #include "src/codegen.h" | 16 #include "src/codegen.h" |
17 #include "src/compilation-cache.h" | 17 #include "src/compilation-cache.h" |
18 #include "src/compiler/pipeline.h" | 18 #include "src/compiler/pipeline.h" |
19 #include "src/crankshaft/hydrogen.h" | 19 #include "src/crankshaft/hydrogen.h" |
20 #include "src/debug/debug.h" | 20 #include "src/debug/debug.h" |
(...skipping 1820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1841 DCHECK(shared->is_compiled()); | 1841 DCHECK(shared->is_compiled()); |
1842 function->set_literals(cached.literals); | 1842 function->set_literals(cached.literals); |
1843 } else if (shared->is_compiled()) { | 1843 } else if (shared->is_compiled()) { |
1844 // TODO(mvstanton): pass pretenure flag to EnsureLiterals. | 1844 // TODO(mvstanton): pass pretenure flag to EnsureLiterals. |
1845 JSFunction::EnsureLiterals(function); | 1845 JSFunction::EnsureLiterals(function); |
1846 } | 1846 } |
1847 } | 1847 } |
1848 | 1848 |
1849 } // namespace internal | 1849 } // namespace internal |
1850 } // namespace v8 | 1850 } // namespace v8 |
OLD | NEW |