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

Unified Diff: src/frames.h

Issue 1854713002: Correctly annotate eval origin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix mips64 Created 4 years, 8 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
Index: src/frames.h
diff --git a/src/frames.h b/src/frames.h
index f6806d7563ba89b83bc1f60cd517de9cb3edffee..912871cee1ca70708e043770404e8c350b1258e7 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -701,6 +701,7 @@ class StandardFrame: public StackFrame {
friend class SafeStackFrameIterator;
};
+class JavaScriptFrame;
class FrameSummary BASE_EMBEDDED {
public:
@@ -708,6 +709,8 @@ class FrameSummary BASE_EMBEDDED {
AbstractCode* abstract_code, int code_offset,
bool is_constructor);
+ static FrameSummary GetFirst(JavaScriptFrame* frame);
+
Handle<Object> receiver() { return receiver_; }
Handle<JSFunction> function() { return function_; }
Handle<AbstractCode> abstract_code() { return abstract_code_; }
@@ -893,7 +896,7 @@ class InterpretedFrame : public JavaScriptFrame {
void PatchBytecodeOffset(int new_offset);
// Returns the frame's current bytecode array.
- Object* GetBytecodeArray() const;
+ BytecodeArray* GetBytecodeArray() const;
// Updates the frame's BytecodeArray with |bytecode_array|. Used by the
// debugger to swap execution onto a BytecodeArray patched with breakpoints.
« no previous file with comments | « src/factory.cc ('k') | src/frames.cc » ('j') | src/full-codegen/arm/full-codegen-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698