Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(623)

Side by Side Diff: src/x87/builtins-x87.cc

Issue 1707693003: [Interpreter] Enable runtime profiler support for Ignition. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Really fix --debug-code Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if V8_TARGET_ARCH_X87 5 #if V8_TARGET_ARCH_X87
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/codegen.h" 8 #include "src/codegen.h"
9 #include "src/deoptimizer.h" 9 #include "src/deoptimizer.h"
10 #include "src/full-codegen/full-codegen.h" 10 #include "src/full-codegen/full-codegen.h"
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 // TODO(rmcilroy): Consider doing more than one push per loop iteration. 592 // TODO(rmcilroy): Consider doing more than one push per loop iteration.
593 __ push(eax); 593 __ push(eax);
594 // Continue loop if not done. 594 // Continue loop if not done.
595 __ bind(&loop_check); 595 __ bind(&loop_check);
596 __ sub(ebx, Immediate(kPointerSize)); 596 __ sub(ebx, Immediate(kPointerSize));
597 __ j(greater_equal, &loop_header); 597 __ j(greater_equal, &loop_header);
598 } 598 }
599 599
600 // TODO(rmcilroy): List of things not currently dealt with here but done in 600 // TODO(rmcilroy): List of things not currently dealt with here but done in
601 // fullcodegen's prologue: 601 // fullcodegen's prologue:
602 // - Support profiler (specifically profiling_counter).
603 // - Call ProfileEntryHookStub when isolate has a function_entry_hook. 602 // - Call ProfileEntryHookStub when isolate has a function_entry_hook.
604 // - Code aging of the BytecodeArray object. 603 // - Code aging of the BytecodeArray object.
605 604
606 // Load accumulator, register file, bytecode offset, dispatch table into 605 // Load accumulator, register file, bytecode offset, dispatch table into
607 // registers. 606 // registers.
608 __ LoadRoot(kInterpreterAccumulatorRegister, Heap::kUndefinedValueRootIndex); 607 __ LoadRoot(kInterpreterAccumulatorRegister, Heap::kUndefinedValueRootIndex);
609 __ mov(kInterpreterRegisterFileRegister, ebp); 608 __ mov(kInterpreterRegisterFileRegister, ebp);
610 __ add(kInterpreterRegisterFileRegister, 609 __ add(kInterpreterRegisterFileRegister,
611 Immediate(InterpreterFrameConstants::kRegisterFilePointerFromFp)); 610 Immediate(InterpreterFrameConstants::kRegisterFilePointerFromFp));
612 __ mov(kInterpreterBytecodeOffsetRegister, 611 __ mov(kInterpreterBytecodeOffsetRegister,
(...skipping 2193 matching lines...) Expand 10 before | Expand all | Expand 10 after
2806 2805
2807 __ bind(&ok); 2806 __ bind(&ok);
2808 __ ret(0); 2807 __ ret(0);
2809 } 2808 }
2810 2809
2811 #undef __ 2810 #undef __
2812 } // namespace internal 2811 } // namespace internal
2813 } // namespace v8 2812 } // namespace v8
2814 2813
2815 #endif // V8_TARGET_ARCH_X87 2814 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698