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

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

Issue 978123003: Merged INLINE_OPTIMIZED intrinsic type into INLINE. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed feedback. Created 5 years, 9 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/ia32/full-codegen-ia32.cc ('k') | src/mips64/full-codegen-mips64.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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_MIPS 7 #if V8_TARGET_ARCH_MIPS
8 8
9 // Note on Mips implementation: 9 // Note on Mips implementation:
10 // 10 //
(...skipping 4595 matching lines...) Expand 10 before | Expand all | Expand 10 after
4606 ExternalReference debug_is_active = 4606 ExternalReference debug_is_active =
4607 ExternalReference::debug_is_active_address(isolate()); 4607 ExternalReference::debug_is_active_address(isolate());
4608 __ li(at, Operand(debug_is_active)); 4608 __ li(at, Operand(debug_is_active));
4609 __ lb(v0, MemOperand(at)); 4609 __ lb(v0, MemOperand(at));
4610 __ SmiTag(v0); 4610 __ SmiTag(v0);
4611 context()->Plug(v0); 4611 context()->Plug(v0);
4612 } 4612 }
4613 4613
4614 4614
4615 void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) { 4615 void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) {
4616 if (expr->function() != NULL && 4616 InlineFunctionGenerator generator = FindInlineFunctionGenerator(expr);
4617 expr->function()->intrinsic_type == Runtime::INLINE) { 4617 if (generator != nullptr) {
4618 Comment cmnt(masm_, "[ InlineRuntimeCall"); 4618 Comment cmnt(masm_, "[ InlineRuntimeCall");
4619 EmitInlineRuntimeCall(expr); 4619 EmitInlineRuntimeCall(expr, generator);
4620 return; 4620 return;
4621 } 4621 }
4622 4622
4623 Comment cmnt(masm_, "[ CallRuntime"); 4623 Comment cmnt(masm_, "[ CallRuntime");
4624 ZoneList<Expression*>* args = expr->arguments(); 4624 ZoneList<Expression*>* args = expr->arguments();
4625 int arg_count = args->length(); 4625 int arg_count = args->length();
4626 4626
4627 if (expr->is_jsruntime()) { 4627 if (expr->is_jsruntime()) {
4628 // Push the builtins object as the receiver. 4628 // Push the builtins object as the receiver.
4629 Register receiver = LoadDescriptor::ReceiverRegister(); 4629 Register receiver = LoadDescriptor::ReceiverRegister();
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
5466 Assembler::target_address_at(pc_immediate_load_address)) == 5466 Assembler::target_address_at(pc_immediate_load_address)) ==
5467 reinterpret_cast<uint32_t>( 5467 reinterpret_cast<uint32_t>(
5468 isolate->builtins()->OsrAfterStackCheck()->entry())); 5468 isolate->builtins()->OsrAfterStackCheck()->entry()));
5469 return OSR_AFTER_STACK_CHECK; 5469 return OSR_AFTER_STACK_CHECK;
5470 } 5470 }
5471 5471
5472 5472
5473 } } // namespace v8::internal 5473 } } // namespace v8::internal
5474 5474
5475 #endif // V8_TARGET_ARCH_MIPS 5475 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/mips64/full-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698