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

Unified Diff: src/frames-arm.h

Issue 50052: Support profiler stack sampling in any situation. (Closed)
Patch Set: Fixes according to comments Created 11 years, 9 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/frames.cc ('k') | src/frames-ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/frames-arm.h
diff --git a/src/frames-arm.h b/src/frames-arm.h
index 0d1a27c3f3e2c36791df8489fc2cb4c0e6618293..930f6e0e0bd391fdb887fc000fede5bfb6a244a0 100644
--- a/src/frames-arm.h
+++ b/src/frames-arm.h
@@ -154,11 +154,9 @@ class InternalFrameConstants : public AllStatic {
};
-inline Object* JavaScriptFrame::function() const {
+inline Object* JavaScriptFrame::function_slot_object() const {
const int offset = JavaScriptFrameConstants::kFunctionOffset;
- Object* result = Memory::Object_at(fp() + offset);
- ASSERT(result->IsJSFunction());
- return result;
+ return Memory::Object_at(fp() + offset);
}
« no previous file with comments | « src/frames.cc ('k') | src/frames-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698