Skip to content
Commit 9c6c94a8 authored by Chris Lattner's avatar Chris Lattner
Browse files

simple optimization: don't bother calling "exists" (which calls the syscall

"access").  Instead, just let the open call fail if the file doesn't exist.
This reduces the # syscalls executed.

llvm-svn: 29173
parent 4a564152
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment