Skip to content

Commit 2404dbb

Browse files
authored
Fix comment typo
1 parent 05ad68b commit 2404dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILOptimizer/Utils/KeyPathProjector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ class GettablePropertyProjector : public ComponentProjector {
239239
auto ref = builder.createFunctionRef(loc, getter);
240240

241241
std::vector<SILValue> args{addr, parentValue};
242-
// FIXME(wasm): For wasm, KeyPath getter always take indices parameter
242+
// FIXME(wasm): For wasm, KeyPath getter always takes indices parameter
243243
// to match callee and caller signature. So need to pass stub pointer.
244244
// See also: getOrCreateKeyPathSetter and getOrCreateKeyPathGetter
245245
if (builder.getASTContext().LangOpts.Target.isOSBinFormatWasm()) {

0 commit comments

Comments
 (0)