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/mips/jump-target-mips.cc

Issue 1320006: Updates and fixes for MIPS support. (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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 ASSERT(cgen()->frame()->Equals(entry_frame_)); 101 ASSERT(cgen()->frame()->Equals(entry_frame_));
102 } 102 }
103 } else { 103 } else {
104 // If there is no current frame we must have an entry frame which we can 104 // If there is no current frame we must have an entry frame which we can
105 // copy. 105 // copy.
106 ASSERT(entry_frame_ != NULL); 106 ASSERT(entry_frame_ != NULL);
107 RegisterFile empty; 107 RegisterFile empty;
108 cgen()->SetFrame(new VirtualFrame(entry_frame_), &empty); 108 cgen()->SetFrame(new VirtualFrame(entry_frame_), &empty);
109 } 109 }
110 110
111 // The predicate is_linked() should be made false. Its implementation 111 // The predicate is_linked() should be made false. Its implementation
112 // detects the presence (or absence) of frame pointers in the 112 // detects the presence (or absence) of frame pointers in the
113 // reaching_frames_ list. If we inserted a bogus frame to make 113 // reaching_frames_ list. If we inserted a bogus frame to make
114 // is_linked() true, remove it now. 114 // is_linked() true, remove it now.
115 if (is_linked()) { 115 if (is_linked()) {
116 reaching_frames_.Clear(); 116 reaching_frames_.Clear();
117 } 117 }
118 118
119 __ bind(&entry_label_); 119 __ bind(&entry_label_);
120 } 120 }
121 121
122 122
123 void BreakTarget::Jump() { 123 void BreakTarget::Jump() {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 void BreakTarget::Bind(Result* arg) { 163 void BreakTarget::Bind(Result* arg) {
164 UNIMPLEMENTED_MIPS(); 164 UNIMPLEMENTED_MIPS();
165 } 165 }
166 166
167 167
168 #undef __ 168 #undef __
169 169
170 170
171 } } // namespace v8::internal 171 } } // namespace v8::internal
172 172
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698