Chromium Code Reviews| Index: src/compiler.h |
| diff --git a/src/compiler.h b/src/compiler.h |
| index e58562664732af04b5fb4fa589440ec30b5482bc..883dfdbcc172f35518f7ea1d0f0f71a4b6dc1864 100644 |
| --- a/src/compiler.h |
| +++ b/src/compiler.h |
| @@ -97,7 +97,7 @@ struct InlinedFunctionInfo { |
| SourcePosition inline_position; |
| int script_id; |
| int start_position; |
| - std::vector<int> deopt_pc_offsets; |
| + std::vector<size_t> deopt_pc_offsets; |
| static const int kNoParentId = -1; |
| }; |
| @@ -349,6 +349,9 @@ class CompilationInfo { |
| int start_position_for(uint32_t inlining_id) { |
| return inlined_function_infos_.at(inlining_id).start_position; |
| } |
| + const std::vector<InlinedFunctionInfo>& inlined_function_infos() { |
|
Sven Panne
2015/03/24 10:25:30
Hmmm, returning this by reference is not nice: Loo
loislo
2015/03/24 10:46:34
1) We pass CompilationInfo to logger when we finis
Sven Panne
2015/03/24 10:56:54
To be exact: It doesn't copy the inlining info at
|
| + return inlined_function_infos_; |
| + } |
| void LogDeoptCallPosition(int pc_offset, int inlining_id); |
| int TraceInlinedFunction(Handle<SharedFunctionInfo> shared, |