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

Side by Side Diff: src/arm/macro-assembler-arm.h

Issue 1765012: Add a single-element global positive and negative cache to... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 7 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/codegen-arm.cc ('k') | src/arm/macro-assembler-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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void Call(Label* target); 78 void Call(Label* target);
79 void Move(Register dst, Handle<Object> value); 79 void Move(Register dst, Handle<Object> value);
80 // May do nothing if the registers are identical. 80 // May do nothing if the registers are identical.
81 void Move(Register dst, Register src); 81 void Move(Register dst, Register src);
82 // Jumps to the label at the index given by the Smi in "index". 82 // Jumps to the label at the index given by the Smi in "index".
83 void SmiJumpTable(Register index, Vector<Label*> targets); 83 void SmiJumpTable(Register index, Vector<Label*> targets);
84 // Load an object from the root table. 84 // Load an object from the root table.
85 void LoadRoot(Register destination, 85 void LoadRoot(Register destination,
86 Heap::RootListIndex index, 86 Heap::RootListIndex index,
87 Condition cond = al); 87 Condition cond = al);
88 // Store an object to the root table.
89 void StoreRoot(Register source,
90 Heap::RootListIndex index,
91 Condition cond = al);
88 92
89 // Sets the remembered set bit for [address+offset], where address is the 93 // Sets the remembered set bit for [address+offset], where address is the
90 // address of the heap object 'object'. The address must be in the first 8K 94 // address of the heap object 'object'. The address must be in the first 8K
91 // of an allocated page. The 'scratch' register is used in the 95 // of an allocated page. The 'scratch' register is used in the
92 // implementation and all 3 registers are clobbered by the operation, as 96 // implementation and all 3 registers are clobbered by the operation, as
93 // well as the ip register. 97 // well as the ip register.
94 void RecordWrite(Register object, Register offset, Register scratch); 98 void RecordWrite(Register object, Register offset, Register scratch);
95 99
96 // Push two registers. Pushes leftmost register first (to highest address). 100 // Push two registers. Pushes leftmost register first (to highest address).
97 void Push(Register src1, Register src2, Condition cond = al) { 101 void Push(Register src1, Register src2, Condition cond = al) {
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 607 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
604 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 608 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
605 #else 609 #else
606 #define ACCESS_MASM(masm) masm-> 610 #define ACCESS_MASM(masm) masm->
607 #endif 611 #endif
608 612
609 613
610 } } // namespace v8::internal 614 } } // namespace v8::internal
611 615
612 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 616 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698