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

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

Issue 147198: X64: Break and continue. (Closed)
Patch Set: Added VisitCatchExtensionObject. 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
« no previous file with comments | « src/x64/codegen-x64.cc ('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 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after
1031 name.ToRegister(rcx); 1031 name.ToRegister(rcx);
1032 value.ToRegister(rax); 1032 value.ToRegister(rax);
1033 } 1033 }
1034 1034
1035 name.Unuse(); 1035 name.Unuse();
1036 value.Unuse(); 1036 value.Unuse();
1037 return RawCallCodeObject(ic, RelocInfo::CODE_TARGET); 1037 return RawCallCodeObject(ic, RelocInfo::CODE_TARGET);
1038 } 1038 }
1039 1039
1040 1040
1041 void VirtualFrame::PushTryHandler(HandlerType type) {
1042 ASSERT(cgen()->HasValidEntryRegisters());
1043 // Grow the expression stack by handler size less one (the return
1044 // address is already pushed by a call instruction).
1045 Adjust(kHandlerSize - 1);
1046 __ PushTryHandler(IN_JAVASCRIPT, type);
1047 }
1048
1049
1041 #undef __ 1050 #undef __
1042 1051
1043 } } // namespace v8::internal 1052 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/x64/codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698