Home | History | Annotate | Download | only in x64

Lines Matching refs:Code

6 //     * Redistributions of source code must retain the above copyright
50 // Overwrites code with int3 instructions.
66 explicit SafepointTableDeoptimiztionEntryIterator(Code* code)
67 : code_(code), table_(code), index_(-1), limit_(table_.length()) {
93 Code* code_;
104 void Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(Handle<Code> code) {
115 // Get the optimized code.
116 Code* code = function->code();
119 // code patching below, and is not needed any more.
120 code->InvalidateRelocation();
125 // before the safepoint table (space was allocated there when the Code
128 Address instruction_start = function->code()->instruction_start();
130 instruction_start + function->code()->safepoint_table_offset();
133 SafepointTableDeoptimiztionEntryIterator deoptimizations(function->code());
142 // Destroy the code which is not supposed to run again.
163 // instruction to a long jump placed elsewhere in the code.
189 // Destroy the code which is not supposed to run again.
193 // Add the deoptimizing code to the list.
194 DeoptimizingCodeListNode* node = new DeoptimizingCodeListNode(code);
195 DeoptimizerData* data = code->GetIsolate()->deoptimizer_data();
199 // Set the code for the function to non-optimized version.
200 function->ReplaceCode(function->shared()->code());
208 code->PrintLn();
216 Code* check_code,
217 Code* replacement_code) {
221 // The stack check code matches the pattern:
229 // We will patch away the branch so the code is:
249 Code* check_code,
250 Code* replacement_code) {
408 output_[0]->SetRegister(rbp.code(), input_->GetRegister(rbp.code()));
409 output_[0]->SetRegister(rsi.code(), input_->GetRegister(rsi.code()));
416 Code* continuation =
472 input_->GetRegister(rbp.code()) - (2 * kPointerSize) - height_in_bytes;
495 // function code and AST id of the bailout.
524 ASSERT(!is_bottommost || input_->GetRegister(rbp.code()) == fp_value);
526 if (is_topmost) output_frame->SetRegister(rbp.code(), fp_value);
544 if (is_topmost) output_frame->SetRegister(rsi.code(), value);
573 Code* non_optimized_code = function->shared()->code();
588 Code* continuation = (bailout_type_ == EAGER)
651 // Get the address of the location in the code object if possible