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

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

Issue 1475823003: [runtime] First step to sanitize regexp literal creation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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
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 #if V8_TARGET_ARCH_IA32 5 #if V8_TARGET_ARCH_IA32
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 } 124 }
125 125
126 126
127 void TypeofDescriptor::InitializePlatformSpecific( 127 void TypeofDescriptor::InitializePlatformSpecific(
128 CallInterfaceDescriptorData* data) { 128 CallInterfaceDescriptorData* data) {
129 Register registers[] = {ebx}; 129 Register registers[] = {ebx};
130 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 130 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
131 } 131 }
132 132
133 133
134 void FastCloneRegExpDescriptor::InitializePlatformSpecific(
135 CallInterfaceDescriptorData* data) {
136 Register registers[] = {edi, eax, ecx, edx};
137 data->InitializePlatformSpecific(arraysize(registers), registers);
138 }
139
140
134 void FastCloneShallowArrayDescriptor::InitializePlatformSpecific( 141 void FastCloneShallowArrayDescriptor::InitializePlatformSpecific(
135 CallInterfaceDescriptorData* data) { 142 CallInterfaceDescriptorData* data) {
136 Register registers[] = {eax, ebx, ecx}; 143 Register registers[] = {eax, ebx, ecx};
137 data->InitializePlatformSpecific(arraysize(registers), registers); 144 data->InitializePlatformSpecific(arraysize(registers), registers);
138 } 145 }
139 146
140 147
141 void FastCloneShallowObjectDescriptor::InitializePlatformSpecific( 148 void FastCloneShallowObjectDescriptor::InitializePlatformSpecific(
142 CallInterfaceDescriptorData* data) { 149 CallInterfaceDescriptorData* data) {
143 Register registers[] = {eax, ebx, ecx, edx}; 150 Register registers[] = {eax, ebx, ecx, edx};
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 ecx, // address of first argument (argv) 449 ecx, // address of first argument (argv)
443 ebx // the runtime function to call 450 ebx // the runtime function to call
444 }; 451 };
445 data->InitializePlatformSpecific(arraysize(registers), registers); 452 data->InitializePlatformSpecific(arraysize(registers), registers);
446 } 453 }
447 454
448 } // namespace internal 455 } // namespace internal
449 } // namespace v8 456 } // namespace v8
450 457
451 #endif // V8_TARGET_ARCH_IA32 458 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« src/code-stubs-hydrogen.cc ('K') | « src/heap/heap.cc ('k') | src/interface-descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698