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

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

Issue 132373011: A64: Synchronize with r17635. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/a64/assembler-a64-inl.h ('k') | src/a64/full-codegen-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 // x1: key 322 // x1: key
323 // x2: receiver 323 // x2: receiver
324 static Register registers[] = { x0, x3, x1, x2 }; 324 static Register registers[] = { x0, x3, x1, x2 };
325 descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]); 325 descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]);
326 descriptor->register_params_ = registers; 326 descriptor->register_params_ = registers;
327 descriptor->deoptimization_handler_ = 327 descriptor->deoptimization_handler_ =
328 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss); 328 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss);
329 } 329 }
330 330
331 331
332 void NewStringAddStub::InitializeInterfaceDescriptor(
333 Isolate* isolate,
334 CodeStubInterfaceDescriptor* descriptor) {
335 // x1: left operand
336 // x0: right operand
337 static Register registers[] = { x1, x0 };
338 descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]);
339 descriptor->register_params_ = registers;
340 descriptor->deoptimization_handler_ =
341 Runtime::FunctionForId(Runtime::kStringAdd)->entry;
342 }
343
344
332 #define __ ACCESS_MASM(masm) 345 #define __ ACCESS_MASM(masm)
333 346
334 347
335 void HydrogenCodeStub::GenerateLightweightMiss(MacroAssembler* masm) { 348 void HydrogenCodeStub::GenerateLightweightMiss(MacroAssembler* masm) {
336 // Update the static counter each time a new code stub is generated. 349 // Update the static counter each time a new code stub is generated.
337 Isolate* isolate = masm->isolate(); 350 Isolate* isolate = masm->isolate();
338 isolate->counters()->code_stubs()->Increment(); 351 isolate->counters()->code_stubs()->Increment();
339 352
340 CodeStubInterfaceDescriptor* descriptor = GetInterfaceDescriptor(isolate); 353 CodeStubInterfaceDescriptor* descriptor = GetInterfaceDescriptor(isolate);
341 int param_count = descriptor->register_param_count_; 354 int param_count = descriptor->register_param_count_;
(...skipping 5806 matching lines...) Expand 10 before | Expand all | Expand 10 after
6148 __ Bind(&fast_elements_case); 6161 __ Bind(&fast_elements_case);
6149 GenerateCase(masm, FAST_ELEMENTS); 6162 GenerateCase(masm, FAST_ELEMENTS);
6150 } 6163 }
6151 6164
6152 6165
6153 #undef __ 6166 #undef __
6154 6167
6155 } } // namespace v8::internal 6168 } } // namespace v8::internal
6156 6169
6157 #endif // V8_TARGET_ARCH_A64 6170 #endif // V8_TARGET_ARCH_A64
OLDNEW
« no previous file with comments | « src/a64/assembler-a64-inl.h ('k') | src/a64/full-codegen-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698