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

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

Issue 184103013: Fix A64 after 19635. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 | no next file » | 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 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
913 913
914 Handle<DeoptimizationInputData> data = 914 Handle<DeoptimizationInputData> data =
915 factory()->NewDeoptimizationInputData(length, TENURED); 915 factory()->NewDeoptimizationInputData(length, TENURED);
916 916
917 Handle<ByteArray> translations = 917 Handle<ByteArray> translations =
918 translations_.CreateByteArray(isolate()->factory()); 918 translations_.CreateByteArray(isolate()->factory());
919 data->SetTranslationByteArray(*translations); 919 data->SetTranslationByteArray(*translations);
920 data->SetInlinedFunctionCount(Smi::FromInt(inlined_function_count_)); 920 data->SetInlinedFunctionCount(Smi::FromInt(inlined_function_count_));
921 data->SetOptimizationId(Smi::FromInt(info_->optimization_id())); 921 data->SetOptimizationId(Smi::FromInt(info_->optimization_id()));
922 if (info_->IsOptimizing()) { 922 if (info_->IsOptimizing()) {
923 // Reference to shared function info does not change between phases.
924 AllowDeferredHandleDereference allow_handle_dereference;
923 data->SetSharedFunctionInfo(*info_->shared_info()); 925 data->SetSharedFunctionInfo(*info_->shared_info());
924 } else { 926 } else {
925 data->SetSharedFunctionInfo(Smi::FromInt(0)); 927 data->SetSharedFunctionInfo(Smi::FromInt(0));
926 } 928 }
927 929
928 Handle<FixedArray> literals = 930 Handle<FixedArray> literals =
929 factory()->NewFixedArray(deoptimization_literals_.length(), TENURED); 931 factory()->NewFixedArray(deoptimization_literals_.length(), TENURED);
930 { AllowDeferredHandleDereference copy_handles; 932 { AllowDeferredHandleDereference copy_handles;
931 for (int i = 0; i < deoptimization_literals_.length(); i++) { 933 for (int i = 0; i < deoptimization_literals_.length(); i++) {
932 literals->set(i, *deoptimization_literals_[i]); 934 literals->set(i, *deoptimization_literals_[i]);
(...skipping 4738 matching lines...) Expand 10 before | Expand all | Expand 10 after
5671 __ Bind(&out_of_object); 5673 __ Bind(&out_of_object);
5672 __ Ldr(result, FieldMemOperand(object, JSObject::kPropertiesOffset)); 5674 __ Ldr(result, FieldMemOperand(object, JSObject::kPropertiesOffset));
5673 // Index is equal to negated out of object property index plus 1. 5675 // Index is equal to negated out of object property index plus 1.
5674 __ Sub(result, result, Operand::UntagSmiAndScale(index, kPointerSizeLog2)); 5676 __ Sub(result, result, Operand::UntagSmiAndScale(index, kPointerSizeLog2));
5675 __ Ldr(result, FieldMemOperand(result, 5677 __ Ldr(result, FieldMemOperand(result,
5676 FixedArray::kHeaderSize - kPointerSize)); 5678 FixedArray::kHeaderSize - kPointerSize));
5677 __ Bind(&done); 5679 __ Bind(&done);
5678 } 5680 }
5679 5681
5680 } } // namespace v8::internal 5682 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698