Skip to content

Commit

Permalink
Fixed release build minor bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
kekyo committed Apr 6, 2019
1 parent 96f648d commit eb9a4f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion IL2C.Runtime/src/System/String.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static System_String* new_string_internal__(uintptr_t byteSize)
il2c_typeof(System_String),
bodySize, pFile, line);
#else
System_String* pString = il2c_get_uninitialized_object_internal__(
IL2C_REF_HEADER* pHeader = il2c_get_uninitialized_object_internal__(
il2c_typeof(System_String),
bodySize);
#endif
Expand Down
4 changes: 2 additions & 2 deletions IL2C.Runtime/src/System/Threading/Thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ void System_Threading_Thread_Start(System_Threading_Thread* this__)
intptr_t rawHandle = il2c_create_thread__(
System_Threading_Thread_InternalEntryPoint, this__);

// TODO: OutOfMemoryException
// TODO: OutOfMemoryException (have to unlink from root)
il2c_assert(rawHandle >= 0);

// It's naive for passing handle if startup with suspending not implemented. (pthread/FreeRTOS)
Expand Down Expand Up @@ -228,7 +228,7 @@ void System_Threading_Thread_Start_2(System_Threading_Thread* this__, System_Obj
intptr_t rawHandle = il2c_create_thread__(
System_Threading_Thread_InternalEntryPointWithParameter, this__);

// TODO: OutOfMemoryException
// TODO: OutOfMemoryException (have to unlink from root)
il2c_assert(rawHandle >= 0);

// It's naive for passing handle if startup with suspending not implemented. (pthread/FreeRTOS)
Expand Down

0 comments on commit eb9a4f9

Please sign in to comment.