diff options
| author | Benoit Germain <bnt.germain@gmail.com> | 2013-11-07 11:11:58 +0100 |
|---|---|---|
| committer | Benoit Germain <bnt.germain@gmail.com> | 2013-11-07 11:11:58 +0100 |
| commit | a4c1fa85870db2fe9ecbf5733dbd3832166aa9fe (patch) | |
| tree | 91dc64e34a5d3abb867467ed1d916d0277ab4b66 /src | |
| parent | 4c0e2ab502994a659e7905fa23049b197f437024 (diff) | |
| download | lanes-a4c1fa85870db2fe9ecbf5733dbd3832166aa9fe.tar.gz lanes-a4c1fa85870db2fe9ecbf5733dbd3832166aa9fe.tar.bz2 lanes-a4c1fa85870db2fe9ecbf5733dbd3832166aa9fe.zip | |
Removed bad stack check code causing invalid assertions
Diffstat (limited to 'src')
| -rw-r--r-- | src/lanes.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lanes.c b/src/lanes.c index 4005955..b0e5d76 100644 --- a/src/lanes.c +++ b/src/lanes.c | |||
| @@ -1764,7 +1764,6 @@ static THREAD_RETURN_T THREAD_CALLCONV lane_main( void *vs) | |||
| 1764 | struct s_lane *s= (struct s_lane *)vs; | 1764 | struct s_lane *s= (struct s_lane *)vs; |
| 1765 | int rc, rc2; | 1765 | int rc, rc2; |
| 1766 | lua_State*L= s->L; | 1766 | lua_State*L= s->L; |
| 1767 | STACK_CHECK( L); | ||
| 1768 | #if HAVE_LANE_TRACKING | 1767 | #if HAVE_LANE_TRACKING |
| 1769 | if( tracking_first) | 1768 | if( tracking_first) |
| 1770 | { | 1769 | { |
| @@ -1845,7 +1844,6 @@ static THREAD_RETURN_T THREAD_CALLCONV lane_main( void *vs) | |||
| 1845 | // LUA_ERRMEM(4): memory allocation error | 1844 | // LUA_ERRMEM(4): memory allocation error |
| 1846 | #endif // ERROR_FULL_STACK | 1845 | #endif // ERROR_FULL_STACK |
| 1847 | 1846 | ||
| 1848 | STACK_END( L, 0); | ||
| 1849 | DEBUGSPEW_CODE( fprintf( stderr, INDENT_BEGIN "Lane %p body: %s (%s)\n" INDENT_END, L, get_errcode_name( rc), (lua_touserdata(L,1)==CANCEL_ERROR) ? "cancelled" : lua_typename( L, lua_type( L, 1)))); | 1847 | DEBUGSPEW_CODE( fprintf( stderr, INDENT_BEGIN "Lane %p body: %s (%s)\n" INDENT_END, L, get_errcode_name( rc), (lua_touserdata(L,1)==CANCEL_ERROR) ? "cancelled" : lua_typename( L, lua_type( L, 1)))); |
| 1850 | //STACK_DUMP(L); | 1848 | //STACK_DUMP(L); |
| 1851 | // Call finalizers, if the script has set them up. | 1849 | // Call finalizers, if the script has set them up. |
