| Index: src/func-name-inferrer.h
|
| diff --git a/src/func-name-inferrer.h b/src/func-name-inferrer.h
|
| index bec3a5cf9af4477de1e3cd91e9eed2fb36bfe379..d77a0251fa041b77c01f777ec7d2af735bcb5fa9 100644
|
| --- a/src/func-name-inferrer.h
|
| +++ b/src/func-name-inferrer.h
|
| @@ -70,6 +70,12 @@ class FuncNameInferrer : public ZoneObject {
|
| }
|
| }
|
|
|
| + void RemoveLastFunction() {
|
| + if (IsOpen() && !funcs_to_infer_.is_empty()) {
|
| + funcs_to_infer_.RemoveLast();
|
| + }
|
| + }
|
| +
|
| // Infers a function name and leaves names collection state.
|
| void Infer() {
|
| ASSERT(IsOpen());
|
|
|