summaryrefslogtreecommitdiff
path: root/deps/v8/src/frames.h
diff options
context:
space:
mode:
authorAli Ijaz Sheikh <ofrobots@google.com>2016-03-01 08:58:05 -0800
committerAli Sheikh <ofrobots@lemonhope.roam.corp.google.com>2016-03-03 20:35:20 -0800
commit069e02ab47656b3efd1b6829c65856b2e1c2d1db (patch)
treeeb643e0a2e88fd64bb9fc927423458d2ae96c2db /deps/v8/src/frames.h
parent8938355398c79f583a468284b768652d12ba9bc9 (diff)
downloadandroid-node-v8-069e02ab47656b3efd1b6829c65856b2e1c2d1db.tar.gz
android-node-v8-069e02ab47656b3efd1b6829c65856b2e1c2d1db.tar.bz2
android-node-v8-069e02ab47656b3efd1b6829c65856b2e1c2d1db.zip
deps: upgrade to V8 4.9.385.18
Pick up the current branch head for V8 4.9 https://github.com/v8/v8/commit/1ecba0f PR-URL: https://github.com/nodejs/node/pull/4722 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com>
Diffstat (limited to 'deps/v8/src/frames.h')
-rw-r--r--deps/v8/src/frames.h27
1 files changed, 17 insertions, 10 deletions
diff --git a/deps/v8/src/frames.h b/deps/v8/src/frames.h
index f00cbdb887..674d7daeca 100644
--- a/deps/v8/src/frames.h
+++ b/deps/v8/src/frames.h
@@ -161,8 +161,6 @@ class ConstructFrameConstants : public AllStatic {
public:
// FP-relative.
static const int kImplicitReceiverOffset =
- StandardFrameConstants::kExpressionsOffset - 4 * kPointerSize;
- static const int kOriginalConstructorOffset =
StandardFrameConstants::kExpressionsOffset - 3 * kPointerSize;
static const int kLengthOffset =
StandardFrameConstants::kExpressionsOffset - 2 * kPointerSize;
@@ -172,17 +170,30 @@ class ConstructFrameConstants : public AllStatic {
StandardFrameConstants::kExpressionsOffset - 0 * kPointerSize;
static const int kFrameSize =
- StandardFrameConstants::kFixedFrameSize + 5 * kPointerSize;
+ StandardFrameConstants::kFixedFrameSize + 4 * kPointerSize;
};
class InterpreterFrameConstants : public AllStatic {
public:
+ // Fixed frame includes new.target and bytecode offset.
+ static const int kFixedFrameSize =
+ StandardFrameConstants::kFixedFrameSize + 2 * kPointerSize;
+ static const int kFixedFrameSizeFromFp =
+ StandardFrameConstants::kFixedFrameSizeFromFp + 2 * kPointerSize;
+
+ // FP-relative.
+ static const int kRegisterFilePointerFromFp =
+ -StandardFrameConstants::kFixedFrameSizeFromFp - 3 * kPointerSize;
+
// Register file pointer relative.
static const int kLastParamFromRegisterPointer =
- StandardFrameConstants::kFixedFrameSize + kPointerSize;
- static const int kFunctionFromRegisterPointer = kPointerSize;
- static const int kContextFromRegisterPointer = 2 * kPointerSize;
+ StandardFrameConstants::kFixedFrameSize + 3 * kPointerSize;
+
+ static const int kBytecodeOffsetFromRegisterPointer = 1 * kPointerSize;
+ static const int kNewTargetFromRegisterPointer = 2 * kPointerSize;
+ static const int kFunctionFromRegisterPointer = 3 * kPointerSize;
+ static const int kContextFromRegisterPointer = 4 * kPointerSize;
};
@@ -583,10 +594,6 @@ class JavaScriptFrame: public StandardFrame {
// about the inlined frames use {GetFunctions} and {Summarize}.
bool HasInlinedFrames() const;
- // Returns the original constructor function that was used in the constructor
- // call to this frame. Note that this is only valid on constructor frames.
- Object* GetOriginalConstructor() const;
-
// Check if this frame has "adapted" arguments in the sense that the
// actual passed arguments are available in an arguments adaptor
// frame below it on the stack.