Skip to content

Fix build error when SWIFT_DEBUG_RUNTIME is defined. #4624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 4, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stdlib/public/runtime/MetadataCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ template <class ValueTy> class MetadataCache {

#if SWIFT_DEBUG_RUNTIME
printf("%s(%p): looking for entry with %zu arguments:\n",
Entry::getName(), this, numArguments);
ValueTy::getName(), this, numArguments);
for (size_t i = 0; i < numArguments; i++) {
printf("%s(%p): %p\n", ValueTy::getName(), this, arguments[i]);
}
Expand All @@ -288,7 +288,7 @@ template <class ValueTy> class MetadataCache {
Key key(KeyDataRef::forArguments(arguments, numArguments));

#if SWIFT_DEBUG_RUNTIME
printf("%s(%p): generated hash %llx\n",
printf("%s(%p): generated hash %zu\n",
ValueTy::getName(), this, key.Hash);
#endif

Expand Down