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

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

Issue 191233003: 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
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 1739 matching lines...) Expand 10 before | Expand all | Expand 10 after
1750 1750
1751 // Push a frame with special values setup to mark it as an entry frame. 1751 // Push a frame with special values setup to mark it as an entry frame.
1752 // r0: code entry 1752 // r0: code entry
1753 // r1: function 1753 // r1: function
1754 // r2: receiver 1754 // r2: receiver
1755 // r3: argc 1755 // r3: argc
1756 // r4: argv 1756 // r4: argv
1757 Isolate* isolate = masm->isolate(); 1757 Isolate* isolate = masm->isolate();
1758 int marker = is_construct ? StackFrame::ENTRY_CONSTRUCT : StackFrame::ENTRY; 1758 int marker = is_construct ? StackFrame::ENTRY_CONSTRUCT : StackFrame::ENTRY;
1759 if (FLAG_enable_ool_constant_pool) { 1759 if (FLAG_enable_ool_constant_pool) {
1760 __ mov(r8, Operand(Smi::FromInt(marker))); 1760 __ mov(r8, Operand(isolate->factory()->empty_constant_pool_array()));
1761 } 1761 }
1762 __ mov(r7, Operand(Smi::FromInt(marker))); 1762 __ mov(r7, Operand(Smi::FromInt(marker)));
1763 __ mov(r6, Operand(Smi::FromInt(marker))); 1763 __ mov(r6, Operand(Smi::FromInt(marker)));
1764 __ mov(r5, 1764 __ mov(r5,
1765 Operand(ExternalReference(Isolate::kCEntryFPAddress, isolate))); 1765 Operand(ExternalReference(Isolate::kCEntryFPAddress, isolate)));
1766 __ ldr(r5, MemOperand(r5)); 1766 __ ldr(r5, MemOperand(r5));
1767 __ mov(ip, Operand(-1)); // Push a bad frame pointer to fail if it is used. 1767 __ mov(ip, Operand(-1)); // Push a bad frame pointer to fail if it is used.
1768 __ stm(db_w, sp, r5.bit() | r6.bit() | r7.bit() | 1768 __ stm(db_w, sp, r5.bit() | r6.bit() | r7.bit() |
1769 (FLAG_enable_ool_constant_pool ? r8.bit() : 0) | 1769 (FLAG_enable_ool_constant_pool ? r8.bit() : 0) |
1770 ip.bit()); 1770 ip.bit());
(...skipping 3802 matching lines...) Expand 10 before | Expand all | Expand 10 after
5573 MemOperand(fp, 6 * kPointerSize), 5573 MemOperand(fp, 6 * kPointerSize),
5574 NULL); 5574 NULL);
5575 } 5575 }
5576 5576
5577 5577
5578 #undef __ 5578 #undef __
5579 5579
5580 } } // namespace v8::internal 5580 } } // namespace v8::internal
5581 5581
5582 #endif // V8_TARGET_ARCH_ARM 5582 #endif // V8_TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698