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

Side by Side Diff: src/virtual-frame.cc

Issue 92010: Push V8 r1767 to trunk. This fixes a problem in the string type... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
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 | « src/api.cc ('k') | src/virtual-frame-ia32.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 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 // synced, and the element is not in memory, then the sync state 290 // synced, and the element is not in memory, then the sync state
291 // of the element is irrelevant. We clear the sync bit. 291 // of the element is irrelevant. We clear the sync bit.
292 ASSERT(source.is_valid()); 292 ASSERT(source.is_valid());
293 elements_[i].clear_sync(); 293 elements_[i].clear_sync();
294 } 294 }
295 295
296 elements_[i].clear_copied(); 296 elements_[i].clear_copied();
297 if (elements_[i].is_copy()) { 297 if (elements_[i].is_copy()) {
298 elements_[elements_[i].index()].set_copied(); 298 elements_[elements_[i].index()].set_copied();
299 } 299 }
300
301 // No code needs to be generated to change the static type of an
302 // element.
303 elements_[i].set_static_type(target.static_type());
300 } 304 }
301 } 305 }
302 306
303 307
304 void VirtualFrame::PrepareForCall(int spilled_args, int dropped_args) { 308 void VirtualFrame::PrepareForCall(int spilled_args, int dropped_args) {
305 ASSERT(height() >= dropped_args); 309 ASSERT(height() >= dropped_args);
306 ASSERT(height() >= spilled_args); 310 ASSERT(height() >= spilled_args);
307 ASSERT(dropped_args <= spilled_args); 311 ASSERT(dropped_args <= spilled_args);
308 312
309 SyncRange(0, elements_.length()); 313 SyncRange(0, elements_.length());
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 #endif 527 #endif
524 if (stack_pointer_ != other->stack_pointer_) return false; 528 if (stack_pointer_ != other->stack_pointer_) return false;
525 for (int i = 0; i < elements_.length(); i++) { 529 for (int i = 0; i < elements_.length(); i++) {
526 if (!elements_[i].Equals(other->elements_[i])) return false; 530 if (!elements_[i].Equals(other->elements_[i])) return false;
527 } 531 }
528 532
529 return true; 533 return true;
530 } 534 }
531 535
532 } } // namespace v8::internal 536 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/virtual-frame-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698