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

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

Issue 441983002: Check that external references are registered in the serializer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | « PRESUBMIT.py ('k') | src/arm64/codegen-arm64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/arm/simulator-arm.h" 9 #include "src/arm/simulator-arm.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 DCHECK(!input.is(result)); 790 DCHECK(!input.is(result));
791 DCHECK(!input.is(double_scratch1)); 791 DCHECK(!input.is(double_scratch1));
792 DCHECK(!input.is(double_scratch2)); 792 DCHECK(!input.is(double_scratch2));
793 DCHECK(!result.is(double_scratch1)); 793 DCHECK(!result.is(double_scratch1));
794 DCHECK(!result.is(double_scratch2)); 794 DCHECK(!result.is(double_scratch2));
795 DCHECK(!double_scratch1.is(double_scratch2)); 795 DCHECK(!double_scratch1.is(double_scratch2));
796 DCHECK(!temp1.is(temp2)); 796 DCHECK(!temp1.is(temp2));
797 DCHECK(!temp1.is(temp3)); 797 DCHECK(!temp1.is(temp3));
798 DCHECK(!temp2.is(temp3)); 798 DCHECK(!temp2.is(temp3));
799 DCHECK(ExternalReference::math_exp_constants(0).address() != NULL); 799 DCHECK(ExternalReference::math_exp_constants(0).address() != NULL);
800 DCHECK(!masm->serializer_enabled()); // External references not serializable.
800 801
801 Label zero, infinity, done; 802 Label zero, infinity, done;
802 803
803 __ mov(temp3, Operand(ExternalReference::math_exp_constants(0))); 804 __ mov(temp3, Operand(ExternalReference::math_exp_constants(0)));
804 805
805 __ vldr(double_scratch1, ExpConstant(0, temp3)); 806 __ vldr(double_scratch1, ExpConstant(0, temp3));
806 __ VFPCompareAndSetFlags(double_scratch1, input); 807 __ VFPCompareAndSetFlags(double_scratch1, input);
807 __ b(ge, &zero); 808 __ b(ge, &zero);
808 809
809 __ vldr(double_scratch2, ExpConstant(1, temp3)); 810 __ vldr(double_scratch2, ExpConstant(1, temp3));
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 patcher.masm()->add(r0, pc, Operand(-8)); 928 patcher.masm()->add(r0, pc, Operand(-8));
928 patcher.masm()->ldr(pc, MemOperand(pc, -4)); 929 patcher.masm()->ldr(pc, MemOperand(pc, -4));
929 patcher.masm()->emit_code_stub_address(stub); 930 patcher.masm()->emit_code_stub_address(stub);
930 } 931 }
931 } 932 }
932 933
933 934
934 } } // namespace v8::internal 935 } } // namespace v8::internal
935 936
936 #endif // V8_TARGET_ARCH_ARM 937 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « PRESUBMIT.py ('k') | src/arm64/codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698