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

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

Issue 2010183003: [runtime] Kill the %NumberToIntegerMapMinusZero runtime entry. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 2843 matching lines...) Expand 10 before | Expand all | Expand 10 after
2854 Register object = r3; 2854 Register object = r3;
2855 Register index = r2; 2855 Register index = r2;
2856 Register result = r5; 2856 Register result = r5;
2857 2857
2858 PopOperand(object); 2858 PopOperand(object);
2859 2859
2860 Label need_conversion; 2860 Label need_conversion;
2861 Label index_out_of_range; 2861 Label index_out_of_range;
2862 Label done; 2862 Label done;
2863 StringCharCodeAtGenerator generator(object, index, result, &need_conversion, 2863 StringCharCodeAtGenerator generator(object, index, result, &need_conversion,
2864 &need_conversion, &index_out_of_range, 2864 &need_conversion, &index_out_of_range);
2865 STRING_INDEX_IS_NUMBER);
2866 generator.GenerateFast(masm_); 2865 generator.GenerateFast(masm_);
2867 __ b(&done); 2866 __ b(&done);
2868 2867
2869 __ bind(&index_out_of_range); 2868 __ bind(&index_out_of_range);
2870 // When the index is out of range, the spec requires us to return 2869 // When the index is out of range, the spec requires us to return
2871 // NaN. 2870 // NaN.
2872 __ LoadRoot(result, Heap::kNanValueRootIndex); 2871 __ LoadRoot(result, Heap::kNanValueRootIndex);
2873 __ b(&done); 2872 __ b(&done);
2874 2873
2875 __ bind(&need_conversion); 2874 __ bind(&need_conversion);
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
3716 DCHECK(kOSRBranchInstruction == br_instr); 3715 DCHECK(kOSRBranchInstruction == br_instr);
3717 3716
3718 DCHECK(interrupt_address == 3717 DCHECK(interrupt_address ==
3719 isolate->builtins()->OnStackReplacement()->entry()); 3718 isolate->builtins()->OnStackReplacement()->entry());
3720 return ON_STACK_REPLACEMENT; 3719 return ON_STACK_REPLACEMENT;
3721 } 3720 }
3722 3721
3723 } // namespace internal 3722 } // namespace internal
3724 } // namespace v8 3723 } // namespace v8
3725 #endif // V8_TARGET_ARCH_S390 3724 #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