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

Side by Side Diff: src/interface-descriptors.cc

Issue 1963583004: [turbofan] Initial version of allocation folding and write barrier elimination. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Jaros comments; Created 4 years, 7 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/interface-descriptors.h ('k') | src/mips/builtins-mips.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/interface-descriptors.h" 5 #include "src/interface-descriptors.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 namespace internal { 8 namespace internal {
9 9
10 namespace { 10 namespace {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 return #NAME " Descriptor"; 68 return #NAME " Descriptor";
69 INTERFACE_DESCRIPTOR_LIST(DEF_CASE) 69 INTERFACE_DESCRIPTOR_LIST(DEF_CASE)
70 #undef DEF_CASE 70 #undef DEF_CASE
71 case CallDescriptors::NUMBER_OF_DESCRIPTORS: 71 case CallDescriptors::NUMBER_OF_DESCRIPTORS:
72 break; 72 break;
73 } 73 }
74 return ""; 74 return "";
75 } 75 }
76 76
77 77
78 void AllocateMutableHeapNumberDescriptor::InitializePlatformSpecific(
79 CallInterfaceDescriptorData* data) {
80 data->InitializePlatformSpecific(0, nullptr, nullptr);
81 }
82
83
84 void VoidDescriptor::InitializePlatformSpecific( 78 void VoidDescriptor::InitializePlatformSpecific(
85 CallInterfaceDescriptorData* data) { 79 CallInterfaceDescriptorData* data) {
86 data->InitializePlatformSpecific(0, nullptr); 80 data->InitializePlatformSpecific(0, nullptr);
87 } 81 }
88 82
89 FunctionType* LoadDescriptor::BuildCallInterfaceDescriptorFunctionType( 83 FunctionType* LoadDescriptor::BuildCallInterfaceDescriptorFunctionType(
90 Isolate* isolate, int paramater_count) { 84 Isolate* isolate, int paramater_count) {
91 Zone* zone = isolate->interface_descriptor_zone(); 85 Zone* zone = isolate->interface_descriptor_zone();
92 FunctionType* function = 86 FunctionType* function =
93 Type::Function(AnyTagged(zone), Type::Undefined(), 3, zone)->AsFunction(); 87 Type::Function(AnyTagged(zone), Type::Undefined(), 3, zone)->AsFunction();
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 Type::Function(AnyTagged(zone), Type::Undefined(), 4, zone)->AsFunction(); 537 Type::Function(AnyTagged(zone), Type::Undefined(), 4, zone)->AsFunction();
544 function->InitParameter(kAccumulatorParameter, AnyTagged(zone)); 538 function->InitParameter(kAccumulatorParameter, AnyTagged(zone));
545 function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone)); 539 function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone));
546 function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone)); 540 function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone));
547 function->InitParameter(kDispatchTableParameter, AnyTagged(zone)); 541 function->InitParameter(kDispatchTableParameter, AnyTagged(zone));
548 return function; 542 return function;
549 } 543 }
550 544
551 } // namespace internal 545 } // namespace internal
552 } // namespace v8 546 } // namespace v8
OLDNEW
« no previous file with comments | « src/interface-descriptors.h ('k') | src/mips/builtins-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698