Lines Matching refs:code
2 // Use of this source code is governed by a BSD-style license that can be
14 #include "src/objects/code.h"
134 Code code = FromCodeT(CodeT::cast(*obj));
135 if (code.kind() == CodeKind::BASELINE) {
136 // For now just serialize the BytecodeArray instead of baseline code.
137 // TODO(v8:11429,pthier): Handle Baseline code in cases we want to
139 obj = handle(code.bytecode_or_interpreter_data(isolate()), isolate());
399 Code Serializer::CopyCode(Code code) {
401 int size = code.CodeSize();
403 reinterpret_cast<byte*>(code.address()),
404 reinterpret_cast<byte*>(code.address() + size));
740 // at allocation sites in generated code.
781 // Large code objects are not supported and cannot be expressed by
855 // For code objects, perform a custom serialization.
1065 // Don't "sandboxify" external references embedded in the code.
1111 // We no longer serialize code that contains runtime entries.
1241 // on-heap code object.
1244 // To make snapshots reproducible, we make a copy of the code object
1256 // Initially skip serializing the code header. We'll serialize it after the
1276 // Manually serialize the code header. We don't use Code::BodyDescriptor
1314 // number of bytes (i.e. the code header + a tagged size per pre-serialized