Commit 8ea534a
Avoid selecting RegionAllocator with invalid arguments in allocate()
Summary:
We don't actually use the region allocator if the arguments are invalid, so don't get it unless we actually use it.
The compiler *hopefully* already optimizes this away, but just ensure.
Reviewed By: AlnisM
Differential Revision: D88484601
fbshipit-source-id: 069d8659265e9212a25a9eacf8ba5cad0365a7371 parent b60ff18 commit 8ea534a
File tree
1 file changed
+2
-2
lines changed1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments