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

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

Issue 119414: Cleanup of ARM exception handlers. Remove the unused code and... (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/arm/macro-assembler-arm.cc ('k') | src/frames.h » ('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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 UNIMPLEMENTED(); 223 UNIMPLEMENTED();
224 } 224 }
225 225
226 226
227 void VirtualFrame::StoreToFrameSlotAt(int index) { 227 void VirtualFrame::StoreToFrameSlotAt(int index) {
228 UNIMPLEMENTED(); 228 UNIMPLEMENTED();
229 } 229 }
230 230
231 231
232 void VirtualFrame::PushTryHandler(HandlerType type) { 232 void VirtualFrame::PushTryHandler(HandlerType type) {
233 // Grow the expression stack by handler size less one (the return address 233 // Grow the expression stack by handler size less one (the return
234 // is already pushed by a call instruction). 234 // address in lr is already counted by a call instruction).
235 Adjust(kHandlerSize - 1); 235 Adjust(kHandlerSize - 1);
236 __ PushTryHandler(IN_JAVASCRIPT, type); 236 __ PushTryHandler(IN_JAVASCRIPT, type);
237 } 237 }
238 238
239 239
240 Result VirtualFrame::RawCallStub(CodeStub* stub) { 240 Result VirtualFrame::RawCallStub(CodeStub* stub) {
241 ASSERT(cgen()->HasValidEntryRegisters()); 241 ASSERT(cgen()->HasValidEntryRegisters());
242 __ CallStub(stub); 242 __ CallStub(stub);
243 Result result = cgen()->allocator()->Allocate(r0); 243 Result result = cgen()->allocator()->Allocate(r0);
244 ASSERT(result.is_valid()); 244 ASSERT(result.is_valid());
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 ASSERT(stack_pointer_ == element_count() - 1); 430 ASSERT(stack_pointer_ == element_count() - 1);
431 elements_.Add(FrameElement::MemoryElement()); 431 elements_.Add(FrameElement::MemoryElement());
432 stack_pointer_++; 432 stack_pointer_++;
433 __ push(reg); 433 __ push(reg);
434 } 434 }
435 435
436 436
437 #undef __ 437 #undef __
438 438
439 } } // namespace v8::internal 439 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698