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

Side by Side Diff: src/arm/code-stubs-arm.cc

Issue 204403002: Revert "Add out-of-line constant pool support to Arm." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 | « src/arm/builtins-arm.cc ('k') | src/arm/full-codegen-arm.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1759 matching lines...) Expand 10 before | Expand all | Expand 10 after
1770 1770
1771 // Push a frame with special values setup to mark it as an entry frame. 1771 // Push a frame with special values setup to mark it as an entry frame.
1772 // r0: code entry 1772 // r0: code entry
1773 // r1: function 1773 // r1: function
1774 // r2: receiver 1774 // r2: receiver
1775 // r3: argc 1775 // r3: argc
1776 // r4: argv 1776 // r4: argv
1777 Isolate* isolate = masm->isolate(); 1777 Isolate* isolate = masm->isolate();
1778 int marker = is_construct ? StackFrame::ENTRY_CONSTRUCT : StackFrame::ENTRY; 1778 int marker = is_construct ? StackFrame::ENTRY_CONSTRUCT : StackFrame::ENTRY;
1779 if (FLAG_enable_ool_constant_pool) { 1779 if (FLAG_enable_ool_constant_pool) {
1780 __ mov(r8, Operand(isolate->factory()->empty_constant_pool_array())); 1780 __ mov(r8, Operand(Smi::FromInt(marker)));
1781 } 1781 }
1782 __ mov(r7, Operand(Smi::FromInt(marker))); 1782 __ mov(r7, Operand(Smi::FromInt(marker)));
1783 __ mov(r6, Operand(Smi::FromInt(marker))); 1783 __ mov(r6, Operand(Smi::FromInt(marker)));
1784 __ mov(r5, 1784 __ mov(r5,
1785 Operand(ExternalReference(Isolate::kCEntryFPAddress, isolate))); 1785 Operand(ExternalReference(Isolate::kCEntryFPAddress, isolate)));
1786 __ ldr(r5, MemOperand(r5)); 1786 __ ldr(r5, MemOperand(r5));
1787 __ mov(ip, Operand(-1)); // Push a bad frame pointer to fail if it is used. 1787 __ mov(ip, Operand(-1)); // Push a bad frame pointer to fail if it is used.
1788 __ stm(db_w, sp, r5.bit() | r6.bit() | r7.bit() | 1788 __ stm(db_w, sp, r5.bit() | r6.bit() | r7.bit() |
1789 (FLAG_enable_ool_constant_pool ? r8.bit() : 0) | 1789 (FLAG_enable_ool_constant_pool ? r8.bit() : 0) |
1790 ip.bit()); 1790 ip.bit());
(...skipping 3706 matching lines...) Expand 10 before | Expand all | Expand 10 after
5497 MemOperand(fp, 6 * kPointerSize), 5497 MemOperand(fp, 6 * kPointerSize),
5498 NULL); 5498 NULL);
5499 } 5499 }
5500 5500
5501 5501
5502 #undef __ 5502 #undef __
5503 5503
5504 } } // namespace v8::internal 5504 } } // namespace v8::internal
5505 5505
5506 #endif // V8_TARGET_ARCH_ARM 5506 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698