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

Side by Side Diff: src/a64/codegen-a64.cc

Issue 153913002: A64: Synchronize with r16756. (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/code-stubs-a64.cc ('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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 *age = kNoAge; 396 *age = kNoAge;
397 *parity = NO_MARKING_PARITY; 397 *parity = NO_MARKING_PARITY;
398 } else { 398 } else {
399 byte* target = sequence + kCodeAgeStubEntryOffset; 399 byte* target = sequence + kCodeAgeStubEntryOffset;
400 Code* stub = GetCodeFromTargetAddress(Memory::Address_at(target)); 400 Code* stub = GetCodeFromTargetAddress(Memory::Address_at(target));
401 GetCodeAgeAndParity(stub, age, parity); 401 GetCodeAgeAndParity(stub, age, parity);
402 } 402 }
403 } 403 }
404 404
405 405
406 void Code::PatchPlatformCodeAge(byte* sequence, 406 void Code::PatchPlatformCodeAge(Isolate* isolate,
407 byte* sequence,
407 Code::Age age, 408 Code::Age age,
408 MarkingParity parity) { 409 MarkingParity parity) {
409 PatchingAssembler patcher(sequence, kCodeAgeSequenceSize / kInstructionSize); 410 PatchingAssembler patcher(sequence, kCodeAgeSequenceSize / kInstructionSize);
410 if (age == kNoAge) { 411 if (age == kNoAge) {
411 MacroAssembler::EmitFrameSetupForCodeAgePatching(&patcher); 412 MacroAssembler::EmitFrameSetupForCodeAgePatching(&patcher);
412 } else { 413 } else {
413 Code * stub = GetCodeAgeStub(age, parity); 414 Code * stub = GetCodeAgeStub(isolate, age, parity);
414 MacroAssembler::EmitCodeAgeSequence(&patcher, stub); 415 MacroAssembler::EmitCodeAgeSequence(&patcher, stub);
415 } 416 }
416 } 417 }
417 418
418 419
419 void StringCharLoadGenerator::Generate(MacroAssembler* masm, 420 void StringCharLoadGenerator::Generate(MacroAssembler* masm,
420 Register string, 421 Register string,
421 Register index, 422 Register index,
422 Register result, 423 Register result,
423 Label* call_runtime) { 424 Label* call_runtime) {
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 __ Fmul(result, double_temp3, double_temp1); 619 __ Fmul(result, double_temp3, double_temp1);
619 620
620 __ Bind(&done); 621 __ Bind(&done);
621 } 622 }
622 623
623 #undef __ 624 #undef __
624 625
625 } } // namespace v8::internal 626 } } // namespace v8::internal
626 627
627 #endif // V8_TARGET_ARCH_A64 628 #endif // V8_TARGET_ARCH_A64
OLDNEW
« no previous file with comments | « src/a64/code-stubs-a64.cc ('k') | src/a64/full-codegen-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698