Skip to content

Commit c1c9e0b

Browse files
committed
add missing truffle boundary
1 parent 59499d9 commit c1c9e0b

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)