| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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/compilation-info.h" | 5 #include "src/compilation-info.h" |
| 6 | 6 |
| 7 #include "src/api.h" | 7 #include "src/api.h" |
| 8 #include "src/ast/ast.h" |
| 8 #include "src/ast/scopes.h" | 9 #include "src/ast/scopes.h" |
| 9 #include "src/isolate.h" | 10 #include "src/isolate.h" |
| 10 #include "src/parsing/parse-info.h" | 11 #include "src/parsing/parse-info.h" |
| 11 | 12 |
| 12 namespace v8 { | 13 namespace v8 { |
| 13 namespace internal { | 14 namespace internal { |
| 14 | 15 |
| 15 #define PARSE_INFO_GETTER(type, name) \ | 16 #define PARSE_INFO_GETTER(type, name) \ |
| 16 type CompilationInfo::name() const { \ | 17 type CompilationInfo::name() const { \ |
| 17 CHECK(parse_info()); \ | 18 CHECK(parse_info()); \ |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 inlined_functions_.push_back(InlinedFunctionHolder( | 204 inlined_functions_.push_back(InlinedFunctionHolder( |
| 204 inlined_function, handle(inlined_function->code()))); | 205 inlined_function, handle(inlined_function->code()))); |
| 205 } | 206 } |
| 206 | 207 |
| 207 Code::Kind CompilationInfo::output_code_kind() const { | 208 Code::Kind CompilationInfo::output_code_kind() const { |
| 208 return Code::ExtractKindFromFlags(code_flags_); | 209 return Code::ExtractKindFromFlags(code_flags_); |
| 209 } | 210 } |
| 210 | 211 |
| 211 } // namespace internal | 212 } // namespace internal |
| 212 } // namespace v8 | 213 } // namespace v8 |
| OLD | NEW |