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

Side by Side Diff: src/frames.h

Issue 11412310: Issue 2399 part 2: In debugger allow modifying local variable values (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: follow code review Created 8 years 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 | « no previous file | src/frames.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 inline Object* receiver() const; 493 inline Object* receiver() const;
494 inline void set_receiver(Object* value); 494 inline void set_receiver(Object* value);
495 495
496 // Access the parameters. 496 // Access the parameters.
497 inline Address GetParameterSlot(int index) const; 497 inline Address GetParameterSlot(int index) const;
498 inline Object* GetParameter(int index) const; 498 inline Object* GetParameter(int index) const;
499 inline int ComputeParametersCount() const { 499 inline int ComputeParametersCount() const {
500 return GetNumberOfIncomingArguments(); 500 return GetNumberOfIncomingArguments();
501 } 501 }
502 502
503 // Debugger access.
504 void SetParameterValue(int index, Object* value) const;
505
503 // Check if this frame is a constructor frame invoked through 'new'. 506 // Check if this frame is a constructor frame invoked through 'new'.
504 bool IsConstructor() const; 507 bool IsConstructor() const;
505 508
506 // Check if this frame has "adapted" arguments in the sense that the 509 // Check if this frame has "adapted" arguments in the sense that the
507 // actual passed arguments are available in an arguments adaptor 510 // actual passed arguments are available in an arguments adaptor
508 // frame below it on the stack. 511 // frame below it on the stack.
509 inline bool has_adapted_arguments() const; 512 inline bool has_adapted_arguments() const;
510 int GetArgumentsLength() const; 513 int GetArgumentsLength() const;
511 514
512 // Garbage collection support. 515 // Garbage collection support.
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 }; 896 };
894 897
895 898
896 // Reads all frames on the current stack and copies them into the current 899 // Reads all frames on the current stack and copies them into the current
897 // zone memory. 900 // zone memory.
898 Vector<StackFrame*> CreateStackMap(Zone* zone); 901 Vector<StackFrame*> CreateStackMap(Zone* zone);
899 902
900 } } // namespace v8::internal 903 } } // namespace v8::internal
901 904
902 #endif // V8_FRAMES_H_ 905 #endif // V8_FRAMES_H_
OLDNEW
« no previous file with comments | « no previous file | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698