Home | History | Annotate | Download | only in src

Lines Matching refs:Code

2 // Use of this source code is governed by a BSD-style license that can be
10 #include "src/code-stubs.h"
28 explicit V8NameConverter(Code* code) : code_(code) {}
31 Code* code() const { return code_; }
33 Code* code_;
50 // print as code offset, if it seems reasonable
62 // The V8NameConverter is used for well known code, so we can "safely"
63 // dereference pointers in generated code.
89 if (converter.code() != NULL) {
90 it = new RelocIterator(converter.code());
92 // No relocation information when printing code stubs.
115 // raw pointer embedded in code stream, e.g., jump table
164 converter.code());
202 out.AddFormatted(" ;; code:");
203 Code* code = Code::GetCodeFromTargetAddress(relocinfo.target_address());
204 Code::Kind kind = code->kind();
205 if (code->is_inline_cache_stub()) {
206 out.AddFormatted(" %s", Code::Kind2String(kind));
208 InlineCacheState ic_state = IC::StateFromCode(code);
209 out.AddFormatted(" %s", Code::ICState2String(ic_state));
211 } else if (kind == Code::STUB || kind == Code::HANDLER) {
213 uint32_t key = code->stub_key();
215 CodeStub::Major major_key = CodeStub::GetMajorKey(code);
217 out.AddFormatted(" %s, %s, ", Code::Kind2String(kind),
221 out.AddFormatted(" %s", Code::Kind2String(kind));
276 byte* end, Code* code) {
277 V8NameConverter v8NameConverter(code);
284 byte* end, Code* code) {