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

Side by Side Diff: src/frames.cc

Issue 9139051: Cosmetic changes ("set up" is a verb, "setup" is a noun). (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 11 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/factory.cc ('k') | src/full-codegen.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 return Memory::Object_at(fp() + offset); 478 return Memory::Object_at(fp() + offset);
479 } 479 }
480 480
481 481
482 Code* ExitFrame::unchecked_code() const { 482 Code* ExitFrame::unchecked_code() const {
483 return reinterpret_cast<Code*>(code_slot()); 483 return reinterpret_cast<Code*>(code_slot());
484 } 484 }
485 485
486 486
487 void ExitFrame::ComputeCallerState(State* state) const { 487 void ExitFrame::ComputeCallerState(State* state) const {
488 // Setup the caller state. 488 // Set up the caller state.
489 state->sp = caller_sp(); 489 state->sp = caller_sp();
490 state->fp = Memory::Address_at(fp() + ExitFrameConstants::kCallerFPOffset); 490 state->fp = Memory::Address_at(fp() + ExitFrameConstants::kCallerFPOffset);
491 state->pc_address 491 state->pc_address
492 = reinterpret_cast<Address*>(fp() + ExitFrameConstants::kCallerPCOffset); 492 = reinterpret_cast<Address*>(fp() + ExitFrameConstants::kCallerPCOffset);
493 } 493 }
494 494
495 495
496 void ExitFrame::SetCallerFp(Address caller_fp) { 496 void ExitFrame::SetCallerFp(Address caller_fp) {
497 Memory::Address_at(fp() + ExitFrameConstants::kCallerFPOffset) = caller_fp; 497 Memory::Address_at(fp() + ExitFrameConstants::kCallerFPOffset) = caller_fp;
498 } 498 }
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 ZoneList<StackFrame*> list(10); 1387 ZoneList<StackFrame*> list(10);
1388 for (StackFrameIterator it; !it.done(); it.Advance()) { 1388 for (StackFrameIterator it; !it.done(); it.Advance()) {
1389 StackFrame* frame = AllocateFrameCopy(it.frame()); 1389 StackFrame* frame = AllocateFrameCopy(it.frame());
1390 list.Add(frame); 1390 list.Add(frame);
1391 } 1391 }
1392 return list.ToVector(); 1392 return list.ToVector();
1393 } 1393 }
1394 1394
1395 1395
1396 } } // namespace v8::internal 1396 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698