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

Unified Diff: src/frames.h

Issue 1888013002: Revert of Correctly annotate eval origin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « src/factory.cc ('k') | src/frames.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/frames.h
diff --git a/src/frames.h b/src/frames.h
index 6b51fb868cd68fa3bf226d7c695a2cc152cf2535..16ebba5f61fdbfec0a79a5c1b9755d40c3978ed3 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -640,15 +640,11 @@
friend class StackFrameIteratorBase;
};
-class JavaScriptFrame;
-
class FrameSummary BASE_EMBEDDED {
public:
FrameSummary(Object* receiver, JSFunction* function,
AbstractCode* abstract_code, int code_offset,
bool is_constructor);
-
- static FrameSummary GetFirst(JavaScriptFrame* frame);
Handle<Object> receiver() { return receiver_; }
Handle<JSFunction> function() { return function_; }
@@ -732,6 +728,7 @@
friend class StackFrame;
friend class SafeStackFrameIterator;
};
+
class JavaScriptFrame : public StandardFrame {
public:
@@ -900,11 +897,11 @@
void PatchBytecodeOffset(int new_offset);
// Returns the frame's current bytecode array.
- BytecodeArray* GetBytecodeArray() const;
+ Object* GetBytecodeArray() const;
// Updates the frame's BytecodeArray with |bytecode_array|. Used by the
// debugger to swap execution onto a BytecodeArray patched with breakpoints.
- void PatchBytecodeArray(BytecodeArray* bytecode_array);
+ void PatchBytecodeArray(Object* bytecode_array);
// Access to the interpreter register file for this frame.
Object* GetInterpreterRegister(int register_index) const;
« no previous file with comments | « src/factory.cc ('k') | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698