| Index: runtime/vm/code_descriptors.h
|
| ===================================================================
|
| --- runtime/vm/code_descriptors.h (revision 10302)
|
| +++ runtime/vm/code_descriptors.h (working copy)
|
| @@ -16,7 +16,7 @@
|
| struct PcDesc {
|
| intptr_t pc_offset; // PC offset value of the descriptor.
|
| PcDescriptors::Kind kind; // Descriptor kind (kDeopt, kOther).
|
| - intptr_t node_id; // AST node id.
|
| + intptr_t deopt_id; // Deoptimization id.
|
| intptr_t token_index; // Token position in source of PC.
|
| intptr_t try_index; // Try block index of PC or deopt array index.
|
| };
|
| @@ -35,10 +35,10 @@
|
| PcDescriptors::Kind Kind(int index) const {
|
| return list_[index].kind;
|
| }
|
| - intptr_t NodeId(int index) const {
|
| - return list_[index].node_id;
|
| + intptr_t DeoptId(int index) const {
|
| + return list_[index].deopt_id;
|
| }
|
| - intptr_t TokenIndex(int index) const {
|
| + intptr_t TokenPos(int index) const {
|
| return list_[index].token_index;
|
| }
|
| intptr_t TryIndex(int index) const {
|
| @@ -47,11 +47,11 @@
|
|
|
| void AddDescriptor(PcDescriptors::Kind kind,
|
| intptr_t pc_offset,
|
| - intptr_t node_id,
|
| + intptr_t deopt_id,
|
| intptr_t token_index,
|
| intptr_t try_index);
|
| void AddDeoptInfo(intptr_t pc_offset,
|
| - intptr_t node_id,
|
| + intptr_t deopt_id,
|
| intptr_t token_index,
|
| intptr_t deopt_array_index);
|
|
|
|
|