Skip to content

Commit e1eaacd

Browse files
committed
[GR-26489] Add missing truffle boundary
PullRequest: graalpython/1318
2 parents 0fdb6b6 + c1c9e0b commit e1eaacd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/PosixModuleBuiltins.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1743,6 +1743,7 @@ boolean access(String path, int mode, Object dirFd, boolean effectiveIds, boolea
17431743
@Builtin(name = "cpu_count", minNumOfPositionalArgs = 0)
17441744
@GenerateNodeFactory
17451745
abstract static class CpuCountNode extends PythonBuiltinNode {
1746+
@TruffleBoundary
17461747
@Specialization
17471748
static int getCpuCount() {
17481749
return Runtime.getRuntime().availableProcessors();

0 commit comments

Comments
 (0)