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

Side by Side Diff: src/full-codegen/ppc/full-codegen-ppc.cc

Issue 1676263002: Remove --stop-at flag from several backends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC 5 #if V8_TARGET_ARCH_PPC
6 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // frames-ppc.h for its layout. 101 // frames-ppc.h for its layout.
102 void FullCodeGenerator::Generate() { 102 void FullCodeGenerator::Generate() {
103 CompilationInfo* info = info_; 103 CompilationInfo* info = info_;
104 profiling_counter_ = isolate()->factory()->NewCell( 104 profiling_counter_ = isolate()->factory()->NewCell(
105 Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget), isolate())); 105 Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget), isolate()));
106 SetFunctionPosition(literal()); 106 SetFunctionPosition(literal());
107 Comment cmnt(masm_, "[ function compiled by full code generator"); 107 Comment cmnt(masm_, "[ function compiled by full code generator");
108 108
109 ProfileEntryHookStub::MaybeCallEntryHook(masm_); 109 ProfileEntryHookStub::MaybeCallEntryHook(masm_);
110 110
111 #ifdef DEBUG
112 if (strlen(FLAG_stop_at) > 0 &&
113 info->literal()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) {
114 __ stop("stop-at");
115 }
116 #endif
117
118 if (FLAG_debug_code && info->ExpectsJSReceiverAsReceiver()) { 111 if (FLAG_debug_code && info->ExpectsJSReceiverAsReceiver()) {
119 int receiver_offset = info->scope()->num_parameters() * kPointerSize; 112 int receiver_offset = info->scope()->num_parameters() * kPointerSize;
120 __ LoadP(r5, MemOperand(sp, receiver_offset), r0); 113 __ LoadP(r5, MemOperand(sp, receiver_offset), r0);
121 __ AssertNotSmi(r5); 114 __ AssertNotSmi(r5);
122 __ CompareObjectType(r5, r5, no_reg, FIRST_JS_RECEIVER_TYPE); 115 __ CompareObjectType(r5, r5, no_reg, FIRST_JS_RECEIVER_TYPE);
123 __ Assert(ge, kSloppyFunctionExpectsJSReceiverReceiver); 116 __ Assert(ge, kSloppyFunctionExpectsJSReceiverReceiver);
124 } 117 }
125 118
126 // Open a frame scope to indicate that there is a frame on the stack. The 119 // Open a frame scope to indicate that there is a frame on the stack. The
127 // MANUAL indicates that the scope shouldn't actually generate code to set up 120 // MANUAL indicates that the scope shouldn't actually generate code to set up
(...skipping 4547 matching lines...) Expand 10 before | Expand all | Expand 10 after
4675 return ON_STACK_REPLACEMENT; 4668 return ON_STACK_REPLACEMENT;
4676 } 4669 }
4677 4670
4678 DCHECK(interrupt_address == 4671 DCHECK(interrupt_address ==
4679 isolate->builtins()->OsrAfterStackCheck()->entry()); 4672 isolate->builtins()->OsrAfterStackCheck()->entry());
4680 return OSR_AFTER_STACK_CHECK; 4673 return OSR_AFTER_STACK_CHECK;
4681 } 4674 }
4682 } // namespace internal 4675 } // namespace internal
4683 } // namespace v8 4676 } // namespace v8
4684 #endif // V8_TARGET_ARCH_PPC 4677 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/full-codegen/mips64/full-codegen-mips64.cc ('k') | src/full-codegen/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698