diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-07-16 12:46:07 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-07-16 12:46:07 -0400 |
commit | 0412c17a6566a3cc5d324773abcf6e8a1ad40bc6 (patch) | |
tree | 1b8beaf1d24f394efd0b6e0322d1efbb8515cf6f /src/nvim/regexp.c | |
parent | e1075ffff94fe0ddc9eb90980ad798e68c090fc6 (diff) | |
parent | 6d0f9417ec2e9dec9666fa9c7a9b5b890f25d36a (diff) | |
download | rneovim-0412c17a6566a3cc5d324773abcf6e8a1ad40bc6.tar.gz rneovim-0412c17a6566a3cc5d324773abcf6e8a1ad40bc6.tar.bz2 rneovim-0412c17a6566a3cc5d324773abcf6e8a1ad40bc6.zip |
Merge pull request #839 from aktau/platform-abstract-time-fn
viml: impl profiling on top of uv_hrtime()
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r-- | src/nvim/regexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c index f9f02eac9d..fd1b6116f2 100644 --- a/src/nvim/regexp.c +++ b/src/nvim/regexp.c @@ -3468,7 +3468,7 @@ static long bt_regexec_both(char_u *line, /* Check for timeout once in a twenty times to avoid overhead. */ if (tm != NULL && ++tm_count == 20) { tm_count = 0; - if (profile_passed_limit(tm)) + if (profile_passed_limit(*tm)) break; } } |