Lines Matching defs:code
2 // Use of this source code is governed by a BSD-style license that can be
12 #include "src/heap/code-range.h"
27 // If the address belongs to the embedded code blob, predictably converts it
28 // to uint32 by calculating offset from the embedded code blob start and
38 // containing all off-heap code. The area is guaranteed to be contiguous.
40 // mksnapshot. Otherwise, off-heap code is embedded directly into the binary.
42 uint8_t** code,
46 static void FreeOffHeapOffHeapInstructionStream(uint8_t* code,
76 const uint8_t* code() const { return code_; }
88 // the one un-embedded into the per-Isolate code range. In most of the cases,
91 // If the requested PC belongs to the embedded code blob - it'll be returned,
100 // If the pc does not belong to the embedded code blob we should be using
107 // code blob copy then it could have been used regardless of whether the
114 // If the pc does not belong to the embedded code blob we should be
162 // TODO(v8:11045): Consider removing code alignment.
184 // from the start of the embedded code section.
231 // [1] hash of the code section
238 // code:
269 EmbeddedData(const uint8_t* code, uint32_t code_size, const uint8_t* data,
271 : code_(code), code_size_(code_size), data_(data), data_size_(data_size) {
272 DCHECK_NOT_NULL(code);
301 // The code section contains instruction streams. It is guaranteed to have
306 // The data section contains both descriptions of the code section (hashes,