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/ppc/full-codegen-ppc.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/mips64/full-codegen-mips64.cc ('k') | src/runtime/runtime.h » ('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 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_PPC 7 #if V8_TARGET_ARCH_PPC
8 8
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 4572 matching lines...) Expand 10 before | Expand all | Expand 10 after
4583 ExternalReference debug_is_active = 4583 ExternalReference debug_is_active =
4584 ExternalReference::debug_is_active_address(isolate()); 4584 ExternalReference::debug_is_active_address(isolate());
4585 __ mov(ip, Operand(debug_is_active)); 4585 __ mov(ip, Operand(debug_is_active));
4586 __ lbz(r3, MemOperand(ip)); 4586 __ lbz(r3, MemOperand(ip));
4587 __ SmiTag(r3); 4587 __ SmiTag(r3);
4588 context()->Plug(r3); 4588 context()->Plug(r3);
4589 } 4589 }
4590 4590
4591 4591
4592 void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) { 4592 void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) {
4593 if (expr->function() != NULL && 4593 InlineFunctionGenerator generator = FindInlineFunctionGenerator(expr);
4594 expr->function()->intrinsic_type == Runtime::INLINE) { 4594 if (generator != nullptr) {
4595 Comment cmnt(masm_, "[ InlineRuntimeCall"); 4595 Comment cmnt(masm_, "[ InlineRuntimeCall");
4596 EmitInlineRuntimeCall(expr); 4596 EmitInlineRuntimeCall(expr, generator);
4597 return; 4597 return;
4598 } 4598 }
4599 4599
4600 Comment cmnt(masm_, "[ CallRuntime"); 4600 Comment cmnt(masm_, "[ CallRuntime");
4601 ZoneList<Expression*>* args = expr->arguments(); 4601 ZoneList<Expression*>* args = expr->arguments();
4602 int arg_count = args->length(); 4602 int arg_count = args->length();
4603 4603
4604 if (expr->is_jsruntime()) { 4604 if (expr->is_jsruntime()) {
4605 // Push the builtins object as the receiver. 4605 // Push the builtins object as the receiver.
4606 Register receiver = LoadDescriptor::ReceiverRegister(); 4606 Register receiver = LoadDescriptor::ReceiverRegister();
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
5435 return ON_STACK_REPLACEMENT; 5435 return ON_STACK_REPLACEMENT;
5436 } 5436 }
5437 5437
5438 DCHECK(interrupt_address == 5438 DCHECK(interrupt_address ==
5439 isolate->builtins()->OsrAfterStackCheck()->entry()); 5439 isolate->builtins()->OsrAfterStackCheck()->entry());
5440 return OSR_AFTER_STACK_CHECK; 5440 return OSR_AFTER_STACK_CHECK;
5441 } 5441 }
5442 } 5442 }
5443 } // namespace v8::internal 5443 } // namespace v8::internal
5444 #endif // V8_TARGET_ARCH_PPC 5444 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/mips64/full-codegen-mips64.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698