| Index: src/builtins.cc
|
| diff --git a/src/builtins.cc b/src/builtins.cc
|
| index b9ff9e13447ce893c99cf62f3128a5ece6a7554f..e68890fcb292b71f831a6b650378880f98941692 100644
|
| --- a/src/builtins.cc
|
| +++ b/src/builtins.cc
|
| @@ -1599,7 +1599,9 @@ void Builtins::InitBuiltinFunctionTable() {
|
| functions->c_code = NULL; \
|
| functions->s_name = #aname; \
|
| functions->name = k##aname; \
|
| - functions->flags = Code::ComputeHandlerFlags(Code::kind); \
|
| + functions->flags = Code::ComputeFlags( \
|
| + Code::HANDLER, MONOMORPHIC, kNoExtraICState, \
|
| + Code::NORMAL, Code::kind); \
|
| functions->extra_args = NO_EXTRA_ARGUMENTS; \
|
| ++functions;
|
|
|
| @@ -1625,9 +1627,7 @@ void Builtins::SetUp(Isolate* isolate, bool create_heap_objects) {
|
| // For now we generate builtin adaptor code into a stack-allocated
|
| // buffer, before copying it into individual code objects. Be careful
|
| // with alignment, some platforms don't like unaligned code.
|
| - // TODO(jbramley): I had to increase the size of this buffer from 8KB because
|
| - // we can generate a lot of debug code on A64.
|
| - union { int force_alignment; byte buffer[16*KB]; } u;
|
| + union { int force_alignment; byte buffer[8*KB]; } u;
|
|
|
| // Traverse the list of builtins and generate an adaptor in a
|
| // separate code object for each one.
|
|
|