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

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

Issue 1331603002: Use baseline code to compute message locations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix RobustSubStringStub. Created 5 years, 3 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/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/compiler.h" 10 #include "src/compiler.h"
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 } 326 }
327 327
328 if (FLAG_trace) { 328 if (FLAG_trace) {
329 __ CallRuntime(Runtime::kTraceEnter, 0); 329 __ CallRuntime(Runtime::kTraceEnter, 0);
330 } 330 }
331 331
332 // Visit the declarations and body unless there is an illegal 332 // Visit the declarations and body unless there is an illegal
333 // redeclaration. 333 // redeclaration.
334 if (scope()->HasIllegalRedeclaration()) { 334 if (scope()->HasIllegalRedeclaration()) {
335 Comment cmnt(masm_, "[ Declarations"); 335 Comment cmnt(masm_, "[ Declarations");
336 scope()->VisitIllegalRedeclaration(this); 336 VisitForEffect(scope()->GetIllegalRedeclaration());
337 337
338 } else { 338 } else {
339 PrepareForBailoutForId(BailoutId::FunctionEntry(), NO_REGISTERS); 339 PrepareForBailoutForId(BailoutId::FunctionEntry(), NO_REGISTERS);
340 { 340 {
341 Comment cmnt(masm_, "[ Declarations"); 341 Comment cmnt(masm_, "[ Declarations");
342 VisitDeclarations(scope()->declarations()); 342 VisitDeclarations(scope()->declarations());
343 } 343 }
344 344
345 // Assert that the declarations do not use ICs. Otherwise the debugger 345 // Assert that the declarations do not use ICs. Otherwise the debugger
346 // won't be able to redirect a PC at an IC to the correct IC in newly 346 // won't be able to redirect a PC at an IC to the correct IC in newly
(...skipping 4947 matching lines...) Expand 10 before | Expand all | Expand 10 after
5294 return ON_STACK_REPLACEMENT; 5294 return ON_STACK_REPLACEMENT;
5295 } 5295 }
5296 5296
5297 DCHECK(interrupt_address == 5297 DCHECK(interrupt_address ==
5298 isolate->builtins()->OsrAfterStackCheck()->entry()); 5298 isolate->builtins()->OsrAfterStackCheck()->entry());
5299 return OSR_AFTER_STACK_CHECK; 5299 return OSR_AFTER_STACK_CHECK;
5300 } 5300 }
5301 } // namespace internal 5301 } // namespace internal
5302 } // namespace v8 5302 } // namespace v8
5303 #endif // V8_TARGET_ARCH_PPC 5303 #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