File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -438,24 +438,6 @@ class LLVM_LIBRARY_VISIBILITY SILGenFunction
438438 Result.box = box;
439439 return Result;
440440 }
441-
442- static VarLoc getForBox (SILValue box) {
443- VarLoc Result;
444- Result.value = SILValue ();
445- Result.box = box;
446- return Result;
447- }
448-
449- // / Return either the value if we have one or if we only have a box, project
450- // / our a new box address and return that.
451- SILValue getValueOrBoxedValue (
452- SILGenFunction &SGF,
453- SILLocation loc = RegularLocation::getAutoGeneratedLocation()) {
454- if (value)
455- return value;
456- assert (box);
457- return SGF.B .createProjectBox (loc, box, 0 );
458- }
459441 };
460442
461443 // / VarLocs - Entries in this map are generated when a PatternBindingDecl is
You can’t perform that action at this time.
0 commit comments