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

Side by Side Diff: src/compiler/arm/instruction-selector-arm.cc

Issue 514643002: [turbofan] Explicitly mark call sites as patchable. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/arm/linkage-arm.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 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/base/bits.h" 5 #include "src/base/bits.h"
6 #include "src/compiler/instruction-selector-impl.h" 6 #include "src/compiler/instruction-selector-impl.h"
7 #include "src/compiler/node-matchers.h" 7 #include "src/compiler/node-matchers.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 case CallDescriptor::kCallAddress: 814 case CallDescriptor::kCallAddress:
815 opcode = kArchCallAddress; 815 opcode = kArchCallAddress;
816 break; 816 break;
817 case CallDescriptor::kCallJSFunction: 817 case CallDescriptor::kCallJSFunction:
818 opcode = kArchCallJSFunction; 818 opcode = kArchCallJSFunction;
819 break; 819 break;
820 default: 820 default:
821 UNREACHABLE(); 821 UNREACHABLE();
822 return; 822 return;
823 } 823 }
824 opcode |= MiscField::encode(descriptor->deoptimization_support()); 824 opcode |= MiscField::encode(descriptor->flags());
825 825
826 // Emit the call instruction. 826 // Emit the call instruction.
827 Instruction* call_instr = 827 Instruction* call_instr =
828 Emit(opcode, buffer.outputs.size(), &buffer.outputs.front(), 828 Emit(opcode, buffer.outputs.size(), &buffer.outputs.front(),
829 buffer.instruction_args.size(), &buffer.instruction_args.front()); 829 buffer.instruction_args.size(), &buffer.instruction_args.front());
830 830
831 call_instr->MarkAsCall(); 831 call_instr->MarkAsCall();
832 if (deoptimization != NULL) { 832 if (deoptimization != NULL) {
833 DCHECK(continuation != NULL); 833 DCHECK(continuation != NULL);
834 call_instr->MarkAsControl(); 834 call_instr->MarkAsControl();
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 } else { 954 } else {
955 DCHECK(cont->IsSet()); 955 DCHECK(cont->IsSet());
956 Emit(cont->Encode(kArmVcmpF64), g.DefineAsRegister(cont->result()), 956 Emit(cont->Encode(kArmVcmpF64), g.DefineAsRegister(cont->result()),
957 g.UseRegister(m.left().node()), g.UseRegister(m.right().node())); 957 g.UseRegister(m.left().node()), g.UseRegister(m.right().node()));
958 } 958 }
959 } 959 }
960 960
961 } // namespace compiler 961 } // namespace compiler
962 } // namespace internal 962 } // namespace internal
963 } // namespace v8 963 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/arm/linkage-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698