Home
last modified time | relevance | path

Searched refs:new_code (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/wasm/
Dwasm-debug.cc405 WasmCode* new_code = native_module_->PublishCode( in RecompileLiftoffWithBreakpoints() local
408 DCHECK(new_code->is_inspectable()); in RecompileLiftoffWithBreakpoints()
411 DCHECK_EQ(0, debug_side_tables_.count(new_code)); in RecompileLiftoffWithBreakpoints()
412 debug_side_tables_.emplace(new_code, std::move(debug_sidetable)); in RecompileLiftoffWithBreakpoints()
415 return new_code; in RecompileLiftoffWithBreakpoints()
454 WasmCode* new_code; in SetBreakpoint() local
456 new_code = native_module_->GetCode(func_index); in SetBreakpoint()
461 new_code = RecompileLiftoffWithBreakpoints( in SetBreakpoint()
464 UpdateReturnAddresses(isolate, new_code, isolate_data.stepping_frame); in SetBreakpoint()
482 WasmCode* new_code = RecompileLiftoffWithBreakpoints( in UpdateBreakpoints() local
[all …]
Dwasm-code-manager.cc947 std::unique_ptr<WasmCode> new_code{ in AddCodeForTesting() local
964 new_code->MaybePrint(); in AddCodeForTesting()
965 new_code->Validate(); in AddCodeForTesting()
967 return PublishCode(std::move(new_code)); in AddCodeForTesting()
/external/tensorflow/tensorflow/python/autograph/pyct/
Dparser.py99 new_code = tokenize.untokenize(tokens)
106 for line, new_line in zip(code_string.split('\n'), new_code.split('\n')):
114 new_code = '\n'.join(dedented_code)
116 return new_code
/external/tensorflow/tensorflow/tools/compatibility/
Dipynb.py175 new_code = [updated_code_lines[idx] for idx in applicable_lines]
177 cell["source"] = "\n".join(new_code).replace("###!!!", "").replace(
/external/python/cpython3/Lib/test/
Dtest_code.py182 def new_code(c): function
187 code = new_code(f.__code__)
265 new_code = code.replace(**{attr: value})
266 self.assertEqual(getattr(new_code, attr), value)
/external/tensorflow/tensorflow/python/platform/
Dbenchmark.py59 new_code = types.CodeType(arg_num, func_code.co_nlocals,
67 new_code = types.CodeType(arg_num, 0, func_code.co_nlocals,
75 return types.FunctionType(new_code, f.__globals__, name, f.__defaults__,
/external/v8/src/heap/
Dfactory.cc1933 Handle<Code> new_code; in CopyCode() local
1944 new_code = handle(Code::cast(result), isolate()); in CopyCode()
1947 new_code->set_code_data_container(*data_container, kReleaseStore); in CopyCode()
1949 new_code->Relocate(new_addr - old_addr); in CopyCode()
1952 heap->incremental_marking()->ProcessBlackAllocatedObject(*new_code); in CopyCode()
1955 WriteBarrierForCode(*new_code); in CopyCode()
1960 if (FLAG_verify_heap) new_code->ObjectVerify(isolate()); in CopyCode()
1962 DCHECK(IsAligned(new_code->address(), kCodeAlignment)); in CopyCode()
1966 heap->memory_allocator()->code_range().contains(new_code->address())); in CopyCode()
1967 return new_code; in CopyCode()