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

Side by Side Diff: src/arm64/lithium-codegen-arm64.cc

Issue 1407043004: [Crankshaft] Allow inlining of callees that don't pass FLAG_hydrogen_filter (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | src/hydrogen.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/arm64/frames-arm64.h" 5 #include "src/arm64/frames-arm64.h"
6 #include "src/arm64/lithium-codegen-arm64.h" 6 #include "src/arm64/lithium-codegen-arm64.h"
7 #include "src/arm64/lithium-gap-resolver-arm64.h" 7 #include "src/arm64/lithium-gap-resolver-arm64.h"
8 #include "src/base/bits.h" 8 #include "src/base/bits.h"
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 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 } 618 }
619 } 619 }
620 620
621 621
622 bool LCodeGen::GeneratePrologue() { 622 bool LCodeGen::GeneratePrologue() {
623 DCHECK(is_generating()); 623 DCHECK(is_generating());
624 624
625 if (info()->IsOptimizing()) { 625 if (info()->IsOptimizing()) {
626 ProfileEntryHookStub::MaybeCallEntryHook(masm_); 626 ProfileEntryHookStub::MaybeCallEntryHook(masm_);
627 627
628 // TODO(all): Add support for stop_t FLAG in DEBUG mode. 628 #ifdef DEBUG
629 if (strlen(FLAG_stop_at) > 0 &&
630 info()->literal()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) {
631 __ Debug("stop-at", __LINE__, BREAK);
632 }
633 #endif
629 634
630 // Sloppy mode functions and builtins need to replace the receiver with the 635 // Sloppy mode functions and builtins need to replace the receiver with the
631 // global proxy when called as functions (without an explicit receiver 636 // global proxy when called as functions (without an explicit receiver
632 // object). 637 // object).
633 if (info()->MustReplaceUndefinedReceiverWithGlobalProxy()) { 638 if (info()->MustReplaceUndefinedReceiverWithGlobalProxy()) {
634 Label ok; 639 Label ok;
635 int receiver_offset = info_->scope()->num_parameters() * kXRegSize; 640 int receiver_offset = info_->scope()->num_parameters() * kXRegSize;
636 __ Peek(x10, receiver_offset); 641 __ Peek(x10, receiver_offset);
637 __ JumpIfNotRoot(x10, Heap::kUndefinedValueRootIndex, &ok); 642 __ JumpIfNotRoot(x10, Heap::kUndefinedValueRootIndex, &ok);
638 643
(...skipping 5365 matching lines...) Expand 10 before | Expand all | Expand 10 after
6004 Handle<ScopeInfo> scope_info = instr->scope_info(); 6009 Handle<ScopeInfo> scope_info = instr->scope_info();
6005 __ Push(scope_info); 6010 __ Push(scope_info);
6006 __ Push(ToRegister(instr->function())); 6011 __ Push(ToRegister(instr->function()));
6007 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6012 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6008 RecordSafepoint(Safepoint::kNoLazyDeopt); 6013 RecordSafepoint(Safepoint::kNoLazyDeopt);
6009 } 6014 }
6010 6015
6011 6016
6012 } // namespace internal 6017 } // namespace internal
6013 } // namespace v8 6018 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698