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

Side by Side Diff: src/virtual-frame-arm.h

Issue 67108: Fix VirtualFrame::is_used for ARM (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 8 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 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 78
79 int register_index(Register reg) { 79 int register_index(Register reg) {
80 return register_locations_[reg.code()]; 80 return register_locations_[reg.code()];
81 } 81 }
82 82
83 bool is_used(int reg_code) { 83 bool is_used(int reg_code) {
84 return register_locations_[reg_code] != kIllegalIndex; 84 return register_locations_[reg_code] != kIllegalIndex;
85 } 85 }
86 86
87 bool is_used(Register reg) { 87 bool is_used(Register reg) {
88 return is_used(reg.code()) != kIllegalIndex; 88 return is_used(reg.code());
89 } 89 }
90 90
91 // Add extra in-memory elements to the top of the frame to match an actual 91 // Add extra in-memory elements to the top of the frame to match an actual
92 // frame (eg, the frame after an exception handler is pushed). No code is 92 // frame (eg, the frame after an exception handler is pushed). No code is
93 // emitted. 93 // emitted.
94 void Adjust(int count); 94 void Adjust(int count);
95 95
96 // Forget elements from the top of the frame to match an actual frame (eg, 96 // Forget elements from the top of the frame to match an actual frame (eg,
97 // the frame after a runtime call). No code is emitted. 97 // the frame after a runtime call). No code is emitted.
98 void Forget(int count); 98 void Forget(int count);
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 471
472 bool Equals(VirtualFrame* other); 472 bool Equals(VirtualFrame* other);
473 473
474 friend class JumpTarget; 474 friend class JumpTarget;
475 }; 475 };
476 476
477 477
478 } } // namespace v8::internal 478 } } // namespace v8::internal
479 479
480 #endif // V8_VIRTUAL_FRAME_ARM_H_ 480 #endif // V8_VIRTUAL_FRAME_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698