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

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

Issue 546006: Some cleanup of the toplevel code generator:... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 11 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 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); 57 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al);
58 void Call(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); 58 void Call(intptr_t target, RelocInfo::Mode rmode, Condition cond = al);
59 public: 59 public:
60 void Jump(Register target, Condition cond = al); 60 void Jump(Register target, Condition cond = al);
61 void Jump(byte* target, RelocInfo::Mode rmode, Condition cond = al); 61 void Jump(byte* target, RelocInfo::Mode rmode, Condition cond = al);
62 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); 62 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al);
63 void Call(Register target, Condition cond = al); 63 void Call(Register target, Condition cond = al);
64 void Call(byte* target, RelocInfo::Mode rmode, Condition cond = al); 64 void Call(byte* target, RelocInfo::Mode rmode, Condition cond = al);
65 void Call(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); 65 void Call(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al);
66 void Ret(Condition cond = al); 66 void Ret(Condition cond = al);
67 void Drop(int stack_elements, Condition cond = al); 67
68 // Emit code to discard a non-negative number of pointer-sized elements
69 // from the stack, clobbering only the sp register.
70 void Drop(int count, Condition cond = al);
71
68 void Call(Label* target); 72 void Call(Label* target);
69 void Move(Register dst, Handle<Object> value); 73 void Move(Register dst, Handle<Object> value);
70 // Jumps to the label at the index given by the Smi in "index". 74 // Jumps to the label at the index given by the Smi in "index".
71 void SmiJumpTable(Register index, Vector<Label*> targets); 75 void SmiJumpTable(Register index, Vector<Label*> targets);
72 // Load an object from the root table. 76 // Load an object from the root table.
73 void LoadRoot(Register destination, 77 void LoadRoot(Register destination,
74 Heap::RootListIndex index, 78 Heap::RootListIndex index,
75 Condition cond = al); 79 Condition cond = al);
76 80
77 // Sets the remembered set bit for [address+offset], where address is the 81 // Sets the remembered set bit for [address+offset], where address is the
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 414 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
411 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 415 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
412 #else 416 #else
413 #define ACCESS_MASM(masm) masm-> 417 #define ACCESS_MASM(masm) masm->
414 #endif 418 #endif
415 419
416 420
417 } } // namespace v8::internal 421 } } // namespace v8::internal
418 422
419 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 423 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698