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

Unified Diff: src/deoptimizer.h

Issue 9301030: Add GC handling for new field in DeoptimizedFrameInfo. (Closed) Base URL: https://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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/deoptimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.h
diff --git a/src/deoptimizer.h b/src/deoptimizer.h
index db6a59a259bd4b4fa3d28da6c34d3bf308d459d9..ef6e3ec63eafb0a882a6eb4a104d2bcc0248910a 100644
--- a/src/deoptimizer.h
+++ b/src/deoptimizer.h
@@ -749,8 +749,8 @@ class DeoptimizedFrameInfo : public Malloced {
return expression_stack_[index];
}
- Address GetPc() {
- return reinterpret_cast<Address>(pc_);
+ int GetSourcePosition() {
+ return source_position_;
}
private:
@@ -776,7 +776,7 @@ class DeoptimizedFrameInfo : public Malloced {
int expression_count_;
Object** parameters_;
Object** expression_stack_;
- intptr_t pc_;
+ int source_position_;
friend class Deoptimizer;
};
« no previous file with comments | « no previous file | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698