* gold.cc (queue_middle_tasks): If no input files were opened,

exit.
	* workqueue.h (Task_function::Task_function): Assert that there is
	a blocker.
This commit is contained in:
Ian Lance Taylor
2010-02-23 17:42:26 +00:00
parent e707a91d99
commit 135b9c78b2
3 changed files with 18 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class Task_function : public Task
Task_function(Task_function_runner* runner, Task_token* blocker,
const char* name)
: runner_(runner), blocker_(blocker), name_(name)
{ }
{ gold_assert(blocker != NULL); }
~Task_function()
{