Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9b099ce5
Commit
9b099ce5
authored
Dec 08, 2018
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/alloc.c (allocate_vectorlike): Simplify.
parent
469e6bc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/alloc.c
src/alloc.c
+2
-4
No files found.
src/alloc.c
View file @
9b099ce5
...
...
@@ -3358,10 +3358,8 @@ allocate_vectorlike (ptrdiff_t len)
p = allocate_vector_from_block (vroundup (nbytes));
else
{
struct
large_vector
*
lv
=
lisp_malloc
((
large_vector_offset
+
header_size
+
len
*
word_size
),
MEM_TYPE_VECTORLIKE
);
struct large_vector *lv = lisp_malloc (large_vector_offset + nbytes,
MEM_TYPE_VECTORLIKE);
lv->next = large_vectors;
large_vectors = lv;
p = large_vector_vec (lv);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment