Add stop-at flag implementation to full compiler on all platforms.
Review URL: http://codereview.chromium.org/3791009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5629 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
759a87b520
commit
9aec312468
@ -62,6 +62,13 @@ void FullCodeGenerator::Generate(CompilationInfo* info) {
|
||||
SetFunctionPosition(function());
|
||||
Comment cmnt(masm_, "[ function compiled by full code generator");
|
||||
|
||||
#ifdef DEBUG
|
||||
if (strlen(FLAG_stop_at) > 0 &&
|
||||
info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
|
||||
__ stop("stop-at");
|
||||
}
|
||||
#endif
|
||||
|
||||
int locals_count = scope()->num_stack_slots();
|
||||
|
||||
__ Push(lr, fp, cp, r1);
|
||||
|
@ -61,6 +61,13 @@ void FullCodeGenerator::Generate(CompilationInfo* info) {
|
||||
SetFunctionPosition(function());
|
||||
Comment cmnt(masm_, "[ function compiled by full code generator");
|
||||
|
||||
#ifdef DEBUG
|
||||
if (strlen(FLAG_stop_at) > 0 &&
|
||||
info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
|
||||
__ int3();
|
||||
}
|
||||
#endif
|
||||
|
||||
__ push(ebp); // Caller's frame pointer.
|
||||
__ mov(ebp, esp);
|
||||
__ push(esi); // Callee's context.
|
||||
|
@ -61,6 +61,12 @@ void FullCodeGenerator::Generate(CompilationInfo* info) {
|
||||
SetFunctionPosition(function());
|
||||
Comment cmnt(masm_, "[ function compiled by full code generator");
|
||||
|
||||
#ifdef DEBUG
|
||||
if (strlen(FLAG_stop_at) > 0 &&
|
||||
info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
|
||||
__ int3();
|
||||
}
|
||||
#endif
|
||||
__ push(rbp); // Caller's frame pointer.
|
||||
__ movq(rbp, rsp);
|
||||
__ push(rsi); // Callee's context.
|
||||
|
Loading…
Reference in New Issue
Block a user