Determine whether the specified owner is on the stack. Returns address of key if present, 0 otherwise.
| 92 | // Determine whether the specified owner is on the stack. Returns address of |
| 93 | // key if present, 0 otherwise. |
| 94 | static Value* contains(Key* k) |
| 95 | { |
| 96 | context* elem = top_; |
| 97 | while (elem) |
| 98 | { |
| 99 | if (elem->key_ == k) |
| 100 | return elem->value_; |
| 101 | elem = elem->next_; |
| 102 | } |
| 103 | return 0; |
| 104 | } |
| 105 | |
| 106 | // Obtain the value at the top of the stack. |
| 107 | static Value* top() |
nothing calls this directly
no outgoing calls
no test coverage detected