#include <code_descriptors.h>
Definition at line 193 of file code_descriptors.h.
◆ Read()
uint8_t dart::CodeSourceMapOps::Read |
( |
ReadStream * |
stream, |
|
|
int32_t * |
arg1, |
|
|
int32_t * |
arg2 = nullptr |
|
) |
| |
|
static |
Definition at line 243 of file code_descriptors.cc.
245 {
247 const int32_t n =
stream->Read<int32_t>();
250 if (*arg1 > kMaxArgValue) {
251 *arg1 |= kSignBits;
252 }
253#if defined(DART_PRECOMPILER)
254
255
256
258 const int32_t
m =
stream->Read<int32_t>();
259 if (arg2 != nullptr) {
261 }
262 }
263#endif
264 return op;
265}
static constexpr T decode(S value)
static constexpr uint8_t kChangePosition
◆ Write()
void dart::CodeSourceMapOps::Write |
( |
BaseWriteStream * |
stream, |
|
|
uint8_t |
op, |
|
|
int32_t |
arg1 = 0 , |
|
|
int32_t |
arg2 = 0 |
|
) |
| |
|
static |
Definition at line 267 of file code_descriptors.cc.
270 {
272 ASSERT(arg1 >= kMinArgValue && arg1 <= kMaxArgValue);
273 if (arg1 < 0) {
274 arg1 &= ~kSignBits;
275 }
278#if defined(DART_PRECOMPILER)
280
281
282
284 }
285#endif
286}
static constexpr S encode(T value)
◆ kAdvancePC
constexpr uint8_t dart::CodeSourceMapOps::kAdvancePC = 1 |
|
staticconstexpr |
◆ kChangePosition
constexpr uint8_t dart::CodeSourceMapOps::kChangePosition = 0 |
|
staticconstexpr |
◆ kNullCheck
constexpr uint8_t dart::CodeSourceMapOps::kNullCheck = 4 |
|
staticconstexpr |
◆ kPopFunction
constexpr uint8_t dart::CodeSourceMapOps::kPopFunction = 3 |
|
staticconstexpr |
◆ kPushFunction
constexpr uint8_t dart::CodeSourceMapOps::kPushFunction = 2 |
|
staticconstexpr |
The documentation for this struct was generated from the following files: