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

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

Issue 256303007: Don't add code dependencies on transitioning stores eagerly. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 "v8.h" 5 #include "v8.h"
6 6
7 #include "arm64/lithium-codegen-arm64.h" 7 #include "arm64/lithium-codegen-arm64.h"
8 #include "arm64/lithium-gap-resolver-arm64.h" 8 #include "arm64/lithium-gap-resolver-arm64.h"
9 #include "code-stubs.h" 9 #include "code-stubs.h"
10 #include "stub-cache.h" 10 #include "stub-cache.h"
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 return !is_aborted(); 885 return !is_aborted();
886 } 886 }
887 887
888 888
889 void LCodeGen::FinishCode(Handle<Code> code) { 889 void LCodeGen::FinishCode(Handle<Code> code) {
890 ASSERT(is_done()); 890 ASSERT(is_done());
891 code->set_stack_slots(GetStackSlotCount()); 891 code->set_stack_slots(GetStackSlotCount());
892 code->set_safepoint_table_offset(safepoints_.GetCodeOffset()); 892 code->set_safepoint_table_offset(safepoints_.GetCodeOffset());
893 if (code->is_optimized_code()) RegisterWeakObjectsInOptimizedCode(code); 893 if (code->is_optimized_code()) RegisterWeakObjectsInOptimizedCode(code);
894 PopulateDeoptimizationData(code); 894 PopulateDeoptimizationData(code);
895 info()->CommitDependencies(code);
896 } 895 }
897 896
898 897
899 void LCodeGen::Abort(BailoutReason reason) { 898 void LCodeGen::Abort(BailoutReason reason) {
900 info()->set_bailout_reason(reason); 899 info()->set_bailout_reason(reason);
901 status_ = ABORTED; 900 status_ = ABORTED;
902 } 901 }
903 902
904 903
905 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) { 904 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) {
(...skipping 5043 matching lines...) Expand 10 before | Expand all | Expand 10 after
5949 __ Ldr(result, FieldMemOperand(object, JSObject::kPropertiesOffset)); 5948 __ Ldr(result, FieldMemOperand(object, JSObject::kPropertiesOffset));
5950 // Index is equal to negated out of object property index plus 1. 5949 // Index is equal to negated out of object property index plus 1.
5951 __ Sub(result, result, Operand::UntagSmiAndScale(index, kPointerSizeLog2)); 5950 __ Sub(result, result, Operand::UntagSmiAndScale(index, kPointerSizeLog2));
5952 __ Ldr(result, FieldMemOperand(result, 5951 __ Ldr(result, FieldMemOperand(result,
5953 FixedArray::kHeaderSize - kPointerSize)); 5952 FixedArray::kHeaderSize - kPointerSize));
5954 __ Bind(deferred->exit()); 5953 __ Bind(deferred->exit());
5955 __ Bind(&done); 5954 __ Bind(&done);
5956 } 5955 }
5957 5956
5958 } } // namespace v8::internal 5957 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm64/lithium-arm64.cc ('k') | src/handles.h » ('j') | src/handles.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698