Lines Matching refs:function
47 void Deoptimizer::DeoptimizeFunction(JSFunction* function) {
51 if (!function->IsOptimized()) return;
54 Code* code = function->code();
100 // Set the code for the function to non-optimized version.
101 function->ReplaceCode(function->shared()->code());
105 function->PrintName();
106 PrintF(" / %x]\n", reinterpret_cast<uint32_t>(function));
242 JSFunction* function = JSFunction::cast(ComputeLiteral(iterator.Next()));
243 USE(function);
244 ASSERT(function == function_);
295 // context, and the function. Set them up explicitly.
313 name = "function";
355 reinterpret_cast<intptr_t>(function));
356 function->PrintName();
364 JSFunction* function = JSFunction::cast(ComputeLiteral(iterator->Next()));
376 new(output_frame_size) FrameDescription(output_frame_size, function);
428 // The function was mentioned explicitly in the ARGUMENTS_ADAPTOR_FRAME.
430 value = reinterpret_cast<intptr_t>(function);
433 PrintF(" 0x%08x: [top + %d] <- 0x%08x ; function\n",
462 JSFunction* function = JSFunction::cast(ComputeLiteral(iterator->Next()));
474 new(output_frame_size) FrameDescription(output_frame_size, function);
525 // A marker value is used in place of the function.
530 PrintF(" 0x%08x: [top + %d] <- 0x%08x ; function (construct sentinel)\n",
552 // Constructor function being invoked by the stub.
554 value = reinterpret_cast<intptr_t>(function);
557 PrintF(" 0x%08x: [top + %d] <- 0x%08x ; constructor function\n",
584 // Read the ast node id, function, and frame height for this output frame.
586 JSFunction* function = JSFunction::cast(ComputeLiteral(iterator->Next()));
591 function->PrintName();
597 unsigned fixed_frame_size = ComputeFixedSize(function);
603 new(output_frame_size) FrameDescription(output_frame_size, function);
618 // 2 = context and function in the frame.
627 int parameter_count = function->shared()->formal_parameter_count() + 1;
637 // context, and the function. Synthesize their values and set them up
643 // function code and AST id of the bailout.
682 // frame. For all subsequent output frames it can be gotten from the function
689 value = reinterpret_cast<intptr_t>(function->context());
699 // The function was mentioned explicitly in the BEGIN_FRAME.
702 value = reinterpret_cast<uint32_t>(function);
703 // The function for the bottommost output frame should also agree with the
708 PrintF(" 0x%08x: [top + %d] <- 0x%08x ; function\n",
720 Code* non_optimized_code = function->shared()->code();
724 unsigned pc_and_state = GetOutputInfo(data, node_id, function->shared());