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

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

Issue 141030: X64 implementation: if-then-else (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 6 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/x64/virtual-frame-x64.h ('k') | 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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 elements_[top_index] = new_top; 385 elements_[top_index] = new_top;
386 } else { 386 } else {
387 // The stored-to slot holds the same value as the top but 387 // The stored-to slot holds the same value as the top but
388 // unsynced. (We do not have copies of constants yet.) 388 // unsynced. (We do not have copies of constants yet.)
389 ASSERT(top.is_constant()); 389 ASSERT(top.is_constant());
390 elements_[index].clear_sync(); 390 elements_[index].clear_sync();
391 } 391 }
392 } 392 }
393 393
394 394
395 void VirtualFrame::MakeMergable() {
396 // UNIMPLEMENTED();
397 }
398
395 void VirtualFrame::MergeTo(VirtualFrame* a) { 399 void VirtualFrame::MergeTo(VirtualFrame* a) {
396 UNIMPLEMENTED(); 400 UNIMPLEMENTED();
397 } 401 }
398 402
399 403
400 Result VirtualFrame::Pop() { 404 Result VirtualFrame::Pop() {
401 FrameElement element = elements_.RemoveLast(); 405 FrameElement element = elements_.RemoveLast();
402 int index = element_count(); 406 int index = element_count();
403 ASSERT(element.is_valid()); 407 ASSERT(element.is_valid());
404 408
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 PrepareForCall(arg_count + 2, arg_count + 1); 641 PrepareForCall(arg_count + 2, arg_count + 1);
638 return RawCallCodeObject(ic, mode); 642 return RawCallCodeObject(ic, mode);
639 } 643 }
640 644
641 645
642 646
643 647
644 #undef __ 648 #undef __
645 649
646 } } // namespace v8::internal 650 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/x64/virtual-frame-x64.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698