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

Unified Diff: src/deoptimizer.h

Issue 19748003: Introduce kRegisterSize, kPCOnStackSize and kFPOnStackSize constants (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/arm/deoptimizer-arm.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.h
===================================================================
--- src/deoptimizer.h (revision 15739)
+++ src/deoptimizer.h (working copy)
@@ -473,6 +473,7 @@
public:
FrameDescription(uint32_t frame_size,
JSFunction* function);
+ virtual ~FrameDescription() { }
void* operator new(size_t size, uint32_t frame_size) {
// Subtracts kPointerSize, as the member frame_content_ already supplies
@@ -510,6 +511,10 @@
*GetFrameSlotPointer(offset) = value;
}
+ virtual void SetCallerPc(unsigned offset, intptr_t value);
+
+ virtual void SetCallerFp(unsigned offset, intptr_t value);
+
intptr_t GetRegister(unsigned n) const {
ASSERT(n < ARRAY_SIZE(registers_));
return registers_[n];
« no previous file with comments | « src/arm/deoptimizer-arm.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698