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

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

Issue 430213004: Register all ExternalReferences in serializer code. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Removed unused ExternalReferences, added few ASSERTs 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 | « no previous file | src/arm64/codegen-arm64.cc » ('j') | src/serialize.cc » ('J')
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 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 Register temp3) { 789 Register temp3) {
790 ASSERT(!input.is(result)); 790 ASSERT(!input.is(result));
791 ASSERT(!input.is(double_scratch1)); 791 ASSERT(!input.is(double_scratch1));
792 ASSERT(!input.is(double_scratch2)); 792 ASSERT(!input.is(double_scratch2));
793 ASSERT(!result.is(double_scratch1)); 793 ASSERT(!result.is(double_scratch1));
794 ASSERT(!result.is(double_scratch2)); 794 ASSERT(!result.is(double_scratch2));
795 ASSERT(!double_scratch1.is(double_scratch2)); 795 ASSERT(!double_scratch1.is(double_scratch2));
796 ASSERT(!temp1.is(temp2)); 796 ASSERT(!temp1.is(temp2));
797 ASSERT(!temp1.is(temp3)); 797 ASSERT(!temp1.is(temp3));
798 ASSERT(!temp2.is(temp3)); 798 ASSERT(!temp2.is(temp3));
799 // Serializer does not know how to encode references to math_exp_constants
800 // table. See ExternalReferenceTable::PopulateTable.
801 ASSERT(!masm->serializer_enabled());
799 ASSERT(ExternalReference::math_exp_constants(0).address() != NULL); 802 ASSERT(ExternalReference::math_exp_constants(0).address() != NULL);
800 803
801 Label zero, infinity, done; 804 Label zero, infinity, done;
802 805
803 __ mov(temp3, Operand(ExternalReference::math_exp_constants(0))); 806 __ mov(temp3, Operand(ExternalReference::math_exp_constants(0)));
804 807
805 __ vldr(double_scratch1, ExpConstant(0, temp3)); 808 __ vldr(double_scratch1, ExpConstant(0, temp3));
806 __ VFPCompareAndSetFlags(double_scratch1, input); 809 __ VFPCompareAndSetFlags(double_scratch1, input);
807 __ b(ge, &zero); 810 __ b(ge, &zero);
808 811
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 patcher.masm()->add(r0, pc, Operand(-8)); 930 patcher.masm()->add(r0, pc, Operand(-8));
928 patcher.masm()->ldr(pc, MemOperand(pc, -4)); 931 patcher.masm()->ldr(pc, MemOperand(pc, -4));
929 patcher.masm()->emit_code_stub_address(stub); 932 patcher.masm()->emit_code_stub_address(stub);
930 } 933 }
931 } 934 }
932 935
933 936
934 } } // namespace v8::internal 937 } } // namespace v8::internal
935 938
936 #endif // V8_TARGET_ARCH_ARM 939 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/codegen-arm64.cc » ('j') | src/serialize.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698