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

Side by Side Diff: src/full-codegen/ia32/full-codegen-ia32.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 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_IA32 5 #if V8_TARGET_ARCH_IA32
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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 } 315 }
316 316
317 if (FLAG_trace) { 317 if (FLAG_trace) {
318 __ CallRuntime(Runtime::kTraceEnter, 0); 318 __ CallRuntime(Runtime::kTraceEnter, 0);
319 } 319 }
320 320
321 // Visit the declarations and body unless there is an illegal 321 // Visit the declarations and body unless there is an illegal
322 // redeclaration. 322 // redeclaration.
323 if (scope()->HasIllegalRedeclaration()) { 323 if (scope()->HasIllegalRedeclaration()) {
324 Comment cmnt(masm_, "[ Declarations"); 324 Comment cmnt(masm_, "[ Declarations");
325 scope()->VisitIllegalRedeclaration(this); 325 VisitForEffect(scope()->GetIllegalRedeclaration());
326 326
327 } else { 327 } else {
328 PrepareForBailoutForId(BailoutId::FunctionEntry(), NO_REGISTERS); 328 PrepareForBailoutForId(BailoutId::FunctionEntry(), NO_REGISTERS);
329 { Comment cmnt(masm_, "[ Declarations"); 329 { Comment cmnt(masm_, "[ Declarations");
330 VisitDeclarations(scope()->declarations()); 330 VisitDeclarations(scope()->declarations());
331 } 331 }
332 332
333 // Assert that the declarations do not use ICs. Otherwise the debugger 333 // Assert that the declarations do not use ICs. Otherwise the debugger
334 // won't be able to redirect a PC at an IC to the correct IC in newly 334 // won't be able to redirect a PC at an IC to the correct IC in newly
335 // recompiled code. 335 // recompiled code.
(...skipping 4892 matching lines...) Expand 10 before | Expand all | Expand 10 after
5228 Assembler::target_address_at(call_target_address, 5228 Assembler::target_address_at(call_target_address,
5229 unoptimized_code)); 5229 unoptimized_code));
5230 return OSR_AFTER_STACK_CHECK; 5230 return OSR_AFTER_STACK_CHECK;
5231 } 5231 }
5232 5232
5233 5233
5234 } // namespace internal 5234 } // namespace internal
5235 } // namespace v8 5235 } // namespace v8
5236 5236
5237 #endif // V8_TARGET_ARCH_IA32 5237 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/full-codegen/arm64/full-codegen-arm64.cc ('k') | src/full-codegen/mips/full-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698