| Index: src/crankshaft/hydrogen.h
|
| diff --git a/src/crankshaft/hydrogen.h b/src/crankshaft/hydrogen.h
|
| index 7e5ea1fb8f7c11027ea6725afced3b91ad789e7d..7fd9a587cf4e7fa1d97adb4cd59ca6294a587dbc 100644
|
| --- a/src/crankshaft/hydrogen.h
|
| +++ b/src/crankshaft/hydrogen.h
|
| @@ -316,6 +316,11 @@ class HLoopInformation final : public ZoneObject {
|
| HStackCheck* stack_check_;
|
| };
|
|
|
| +struct HInlinedFunctionInfo {
|
| + explicit HInlinedFunctionInfo(int start_position)
|
| + : start_position(start_position) {}
|
| + int start_position;
|
| +};
|
|
|
| class HGraph final : public ZoneObject {
|
| public:
|
| @@ -465,6 +470,10 @@ class HGraph final : public ZoneObject {
|
| // the corresponding script.
|
| int SourcePositionToScriptPosition(SourcePosition position);
|
|
|
| + ZoneVector<HInlinedFunctionInfo>& inlined_function_infos() {
|
| + return inlined_function_infos_;
|
| + }
|
| +
|
| private:
|
| HConstant* ReinsertConstantIfNecessary(HConstant* constant);
|
| HConstant* GetConstant(SetOncePointer<HConstant>* pointer,
|
| @@ -509,6 +518,8 @@ class HGraph final : public ZoneObject {
|
| int no_side_effects_scope_count_;
|
| bool disallow_adding_new_values_;
|
|
|
| + ZoneVector<HInlinedFunctionInfo> inlined_function_infos_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(HGraph);
|
| };
|
|
|
|
|