sim: cgen: move cgen_cpu_max_extra_bytes logic into the common code
[deliverable/binutils-gdb.git] / sim / bpf / sim-if.c
index ad75ac4affa6e35faaaf2c5faf658f7613e5b004..c2c01fc547a0d3c73d10b9b32025f8ff70e3d987 100644 (file)
@@ -122,8 +122,7 @@ sim_open (SIM_OPEN_KIND kind,
 
   SIM_DESC sd = sim_state_alloc (kind, callback);
 
-  if (sim_cpu_alloc_all (sd, 1, cgen_cpu_max_extra_bytes ())
-      != SIM_RC_OK)
+  if (sim_cpu_alloc_all (sd, 1) != SIM_RC_OK)
     goto error;
 
   if (sim_pre_argv_init (sd, argv[0]) != SIM_RC_OK)
This page took 0.023396 seconds and 4 git commands to generate.