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

Side by Side Diff: src/arm/code-stubs-arm.cc

Issue 22184004: Desugar bitwise negation into XOR and kill all UnaryOp stuff. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Feedback. Created 7 years, 4 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 | « no previous file | src/arm/full-codegen-arm.cc » ('j') | src/x64/lithium-codegen-x64.cc » ('J')
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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 } 239 }
240 240
241 241
242 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor( 242 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor(
243 Isolate* isolate, 243 Isolate* isolate,
244 CodeStubInterfaceDescriptor* descriptor) { 244 CodeStubInterfaceDescriptor* descriptor) {
245 InitializeInternalArrayConstructorDescriptor(isolate, descriptor, -1); 245 InitializeInternalArrayConstructorDescriptor(isolate, descriptor, -1);
246 } 246 }
247 247
248 248
249 void UnaryOpStub::InitializeInterfaceDescriptor(
250 Isolate* isolate,
251 CodeStubInterfaceDescriptor* descriptor) {
252 static Register registers[] = { r0 };
253 descriptor->register_param_count_ = 1;
254 descriptor->register_params_ = registers;
255 descriptor->deoptimization_handler_ =
256 FUNCTION_ADDR(UnaryOpIC_Miss);
257 }
258
259
260 void StoreGlobalStub::InitializeInterfaceDescriptor( 249 void StoreGlobalStub::InitializeInterfaceDescriptor(
261 Isolate* isolate, 250 Isolate* isolate,
262 CodeStubInterfaceDescriptor* descriptor) { 251 CodeStubInterfaceDescriptor* descriptor) {
263 static Register registers[] = { r1, r2, r0 }; 252 static Register registers[] = { r1, r2, r0 };
264 descriptor->register_param_count_ = 3; 253 descriptor->register_param_count_ = 3;
265 descriptor->register_params_ = registers; 254 descriptor->register_params_ = registers;
266 descriptor->deoptimization_handler_ = 255 descriptor->deoptimization_handler_ =
267 FUNCTION_ADDR(StoreIC_MissFromStubFailure); 256 FUNCTION_ADDR(StoreIC_MissFromStubFailure);
268 } 257 }
269 258
(...skipping 6904 matching lines...) Expand 10 before | Expand all | Expand 10 after
7174 __ bind(&fast_elements_case); 7163 __ bind(&fast_elements_case);
7175 GenerateCase(masm, FAST_ELEMENTS); 7164 GenerateCase(masm, FAST_ELEMENTS);
7176 } 7165 }
7177 7166
7178 7167
7179 #undef __ 7168 #undef __
7180 7169
7181 } } // namespace v8::internal 7170 } } // namespace v8::internal
7182 7171
7183 #endif // V8_TARGET_ARCH_ARM 7172 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/full-codegen-arm.cc » ('j') | src/x64/lithium-codegen-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698