Skip to content

Commit 8f79e34

Browse files
author
Tatiana Castro-Vélez
committed
Adding more information
1 parent fee0cbc commit 8f79e34

File tree

1 file changed

+6
-7
lines changed
  • edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis

1 file changed

+6
-7
lines changed

edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -242,25 +242,24 @@ public boolean hasReduceRetracingParam() {
242242
}
243243

244244
/**
245-
* True iff this {@link Function}'s {@link decoratorsType} has parameter experimental_compile. In our accepted interval versions of
246-
* the API, it allows parameter names jit_compile and deprecated name experimental_compile. If a client is using this, they might
247-
* not know about what is deprecated or not, therefore we need to include all the deprecated arguments to be complete.
245+
* True iff this {@link Function}'s {@link decoratorsType} has parameter experimental_compile.
248246
*
249247
* @return True iff this {@link Function} has parameter experimental_compile.
250248
*/
251249
public boolean hasExperimentalCompileParam() {
250+
// Since jit_compile and experimental_compile (deprecated) have the same functionalities, when we parse these parameters we put
251+
// look for both strings and store it into this boolean variable.
252252
return this.jitCompileParamExists;
253253
}
254254

255255
/**
256-
* True iff this {@link Function}'s {@link decoratorsType} has parameter experimental_relax_shapes. In our accepted interval
257-
* versions of the API, it allows parameter names reduce_retracing and deprecated name experimental_relax_shapes. If a client is
258-
* using this, they might not know about what is deprecated or not, therefore we need to include all the deprecated arguments to be
259-
* complete.
256+
* True iff this {@link Function}'s {@link decoratorsType} has parameter experimental_relax_shapes.
260257
*
261258
* @return True iff this {@link Function} has parameter experimental_relax_shapes.
262259
*/
263260
public boolean hasExperimentalRelaxShapesParam() {
261+
// Since reduce_retracing and experimental_relax_shapes (deprecated) have the same functionalities, when we parse these
262+
// parameters we put look for both strings and store it into this boolean variable.
264263
return this.reduceRetracingParamExists;
265264
}
266265

0 commit comments

Comments
 (0)