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

Side by Side Diff: src/full-codegen/mips64/full-codegen-mips64.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
« no previous file with comments | « src/full-codegen/mips/full-codegen-mips.cc ('k') | src/full-codegen/ppc/full-codegen-ppc.cc » ('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_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
6 6
7 // Note on Mips implementation: 7 // Note on Mips implementation:
8 // 8 //
9 // The result_register() for mips is the 'v0' register, which is defined 9 // The result_register() for mips is the 'v0' register, which is defined
10 // by the ABI to contain function return values. However, the first 10 // by the ABI to contain function return values. However, the first
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 } 328 }
329 329
330 if (FLAG_trace) { 330 if (FLAG_trace) {
331 __ CallRuntime(Runtime::kTraceEnter, 0); 331 __ CallRuntime(Runtime::kTraceEnter, 0);
332 } 332 }
333 333
334 // Visit the declarations and body unless there is an illegal 334 // Visit the declarations and body unless there is an illegal
335 // redeclaration. 335 // redeclaration.
336 if (scope()->HasIllegalRedeclaration()) { 336 if (scope()->HasIllegalRedeclaration()) {
337 Comment cmnt(masm_, "[ Declarations"); 337 Comment cmnt(masm_, "[ Declarations");
338 scope()->VisitIllegalRedeclaration(this); 338 VisitForEffect(scope()->GetIllegalRedeclaration());
339 339
340 } else { 340 } else {
341 PrepareForBailoutForId(BailoutId::FunctionEntry(), NO_REGISTERS); 341 PrepareForBailoutForId(BailoutId::FunctionEntry(), NO_REGISTERS);
342 { Comment cmnt(masm_, "[ Declarations"); 342 { Comment cmnt(masm_, "[ Declarations");
343 VisitDeclarations(scope()->declarations()); 343 VisitDeclarations(scope()->declarations());
344 } 344 }
345 345
346 // Assert that the declarations do not use ICs. Otherwise the debugger 346 // Assert that the declarations do not use ICs. Otherwise the debugger
347 // won't be able to redirect a PC at an IC to the correct IC in newly 347 // won't be able to redirect a PC at an IC to the correct IC in newly
348 // recompiled code. 348 // recompiled code.
(...skipping 4976 matching lines...) Expand 10 before | Expand all | Expand 10 after
5325 reinterpret_cast<uint64_t>( 5325 reinterpret_cast<uint64_t>(
5326 isolate->builtins()->OsrAfterStackCheck()->entry())); 5326 isolate->builtins()->OsrAfterStackCheck()->entry()));
5327 return OSR_AFTER_STACK_CHECK; 5327 return OSR_AFTER_STACK_CHECK;
5328 } 5328 }
5329 5329
5330 5330
5331 } // namespace internal 5331 } // namespace internal
5332 } // namespace v8 5332 } // namespace v8
5333 5333
5334 #endif // V8_TARGET_ARCH_MIPS64 5334 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/full-codegen/mips/full-codegen-mips.cc ('k') | src/full-codegen/ppc/full-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698