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

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

Issue 1114563003: Optimize the typeof operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 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/mips64/full-codegen-mips64.cc ('k') | src/mips64/lithium-codegen-mips64.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/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 data->Initialize(arraysize(registers), registers, NULL); 76 data->Initialize(arraysize(registers), registers, NULL);
77 } 77 }
78 78
79 79
80 void NumberToStringDescriptor::Initialize(CallInterfaceDescriptorData* data) { 80 void NumberToStringDescriptor::Initialize(CallInterfaceDescriptorData* data) {
81 Register registers[] = {cp, a0}; 81 Register registers[] = {cp, a0};
82 data->Initialize(arraysize(registers), registers, NULL); 82 data->Initialize(arraysize(registers), registers, NULL);
83 } 83 }
84 84
85 85
86 void TypeofDescriptor::Initialize(CallInterfaceDescriptorData* data) {
87 Register registers[] = {cp, a3};
88 data->Initialize(arraysize(registers), registers, NULL);
89 }
90
91
86 void FastCloneShallowArrayDescriptor::Initialize( 92 void FastCloneShallowArrayDescriptor::Initialize(
87 CallInterfaceDescriptorData* data) { 93 CallInterfaceDescriptorData* data) {
88 Register registers[] = {cp, a3, a2, a1}; 94 Register registers[] = {cp, a3, a2, a1};
89 Representation representations[] = { 95 Representation representations[] = {
90 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), 96 Representation::Tagged(), Representation::Tagged(), Representation::Smi(),
91 Representation::Tagged()}; 97 Representation::Tagged()};
92 data->Initialize(arraysize(registers), registers, representations); 98 data->Initialize(arraysize(registers), registers, representations);
93 } 99 }
94 100
95 101
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 Representation::Tagged(), // call_data 366 Representation::Tagged(), // call_data
361 Representation::Tagged(), // holder 367 Representation::Tagged(), // holder
362 Representation::External(), // api_function_address 368 Representation::External(), // api_function_address
363 }; 369 };
364 data->Initialize(arraysize(registers), registers, representations); 370 data->Initialize(arraysize(registers), registers, representations);
365 } 371 }
366 } 372 }
367 } // namespace v8::internal 373 } // namespace v8::internal
368 374
369 #endif // V8_TARGET_ARCH_MIPS64 375 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/full-codegen-mips64.cc ('k') | src/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698