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

Side by Side Diff: src/full-codegen/s390/full-codegen-s390.cc

Issue 1942163002: Remove some dead code in src/objects.cc (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« no previous file with comments | « src/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/full-codegen/x64/full-codegen-x64.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #if V8_TARGET_ARCH_S390 5 #if V8_TARGET_ARCH_S390
6 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 __ beq(&exit); 938 __ beq(&exit);
939 __ CompareRoot(r2, Heap::kUndefinedValueRootIndex); 939 __ CompareRoot(r2, Heap::kUndefinedValueRootIndex);
940 __ beq(&exit); 940 __ beq(&exit);
941 __ bind(&convert); 941 __ bind(&convert);
942 ToObjectStub stub(isolate()); 942 ToObjectStub stub(isolate());
943 __ CallStub(&stub); 943 __ CallStub(&stub);
944 __ bind(&done_convert); 944 __ bind(&done_convert);
945 PrepareForBailoutForId(stmt->ToObjectId(), TOS_REG); 945 PrepareForBailoutForId(stmt->ToObjectId(), TOS_REG);
946 __ push(r2); 946 __ push(r2);
947 947
948 // Check cache validity in generated code. This is a fast case for 948 // Check cache validity in generated code. If we cannot guarantee cache
949 // the JSObject::IsSimpleEnum cache validity checks. If we cannot 949 // validity, call the runtime system to check cache validity or get the
950 // guarantee cache validity, call the runtime system to check cache 950 // property names in a fixed array. Note: Proxies never have an enum cache,
951 // validity or get the property names in a fixed array. 951 // so will always take the slow path.
952 // Note: Proxies never have an enum cache, so will always take the
953 // slow path.
954 Label call_runtime; 952 Label call_runtime;
955 __ CheckEnumCache(&call_runtime); 953 __ CheckEnumCache(&call_runtime);
956 954
957 // The enum cache is valid. Load the map of the object being 955 // The enum cache is valid. Load the map of the object being
958 // iterated over and use the cache for the iteration. 956 // iterated over and use the cache for the iteration.
959 Label use_cache; 957 Label use_cache;
960 __ LoadP(r2, FieldMemOperand(r2, HeapObject::kMapOffset)); 958 __ LoadP(r2, FieldMemOperand(r2, HeapObject::kMapOffset));
961 __ b(&use_cache); 959 __ b(&use_cache);
962 960
963 // Get the set of properties to enumerate. 961 // Get the set of properties to enumerate.
(...skipping 2884 matching lines...) Expand 10 before | Expand all | Expand 10 after
3848 DCHECK(kOSRBranchInstruction == br_instr); 3846 DCHECK(kOSRBranchInstruction == br_instr);
3849 3847
3850 DCHECK(interrupt_address == 3848 DCHECK(interrupt_address ==
3851 isolate->builtins()->OnStackReplacement()->entry()); 3849 isolate->builtins()->OnStackReplacement()->entry());
3852 return ON_STACK_REPLACEMENT; 3850 return ON_STACK_REPLACEMENT;
3853 } 3851 }
3854 3852
3855 } // namespace internal 3853 } // namespace internal
3856 } // namespace v8 3854 } // namespace v8
3857 #endif // V8_TARGET_ARCH_S390 3855 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/full-codegen/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698