This CL us a pure refactoring that makes an empty compilation unit
including just "frames.h" but not "handles-inl.h" compile without
warnings or errors. This is needed to further reduce the header
dependency tangle.
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
1319423003
Cr-Commit-Position: refs/heads/master@{#30476}
}
+FrameSummary::FrameSummary(Object* receiver, JSFunction* function, Code* code,
+ int offset, bool is_constructor)
+ : receiver_(receiver, function->GetIsolate()),
+ function_(function),
+ code_(code),
+ offset_(offset),
+ is_constructor_(is_constructor) {}
+
+
void FrameSummary::Print() {
PrintF("receiver: ");
receiver_->ShortPrint();
class FrameSummary BASE_EMBEDDED {
public:
- FrameSummary(Object* receiver,
- JSFunction* function,
- Code* code,
- int offset,
- bool is_constructor)
- : receiver_(receiver, function->GetIsolate()),
- function_(function),
- code_(code),
- offset_(offset),
- is_constructor_(is_constructor) { }
+ FrameSummary(Object* receiver, JSFunction* function, Code* code, int offset,
+ bool is_constructor);
+
Handle<Object> receiver() { return receiver_; }
Handle<JSFunction> function() { return function_; }
Handle<Code> code() { return code_; }