diff options
author | Ali Ijaz Sheikh <ofrobots@google.com> | 2016-03-01 08:58:05 -0800 |
---|---|---|
committer | Ali Sheikh <ofrobots@lemonhope.roam.corp.google.com> | 2016-03-03 20:35:20 -0800 |
commit | 069e02ab47656b3efd1b6829c65856b2e1c2d1db (patch) | |
tree | eb643e0a2e88fd64bb9fc927423458d2ae96c2db /deps/v8/src/ic/ic-state.h | |
parent | 8938355398c79f583a468284b768652d12ba9bc9 (diff) | |
download | node-new-069e02ab47656b3efd1b6829c65856b2e1c2d1db.tar.gz |
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/ic/ic-state.h')
-rw-r--r-- | deps/v8/src/ic/ic-state.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/deps/v8/src/ic/ic-state.h b/deps/v8/src/ic/ic-state.h index ebc686b738..1982fbe08b 100644 --- a/deps/v8/src/ic/ic-state.h +++ b/deps/v8/src/ic/ic-state.h @@ -120,9 +120,9 @@ class BinaryOpICState final BASE_EMBEDDED { Token::Value op() const { return op_; } Maybe<int> fixed_right_arg() const { return fixed_right_arg_; } - Type* GetLeftType(Zone* zone) const { return KindToType(left_kind_, zone); } - Type* GetRightType(Zone* zone) const { return KindToType(right_kind_, zone); } - Type* GetResultType(Zone* zone) const; + Type* GetLeftType() const { return KindToType(left_kind_); } + Type* GetRightType() const { return KindToType(right_kind_); } + Type* GetResultType() const; void Update(Handle<Object> left, Handle<Object> right, Handle<Object> result); @@ -136,7 +136,7 @@ class BinaryOpICState final BASE_EMBEDDED { Kind UpdateKind(Handle<Object> object, Kind kind) const; static const char* KindToString(Kind kind); - static Type* KindToType(Kind kind, Zone* zone); + static Type* KindToType(Kind kind); static bool KindMaybeSmi(Kind kind) { return (kind >= SMI && kind <= NUMBER) || kind == GENERIC; } @@ -174,7 +174,7 @@ class CompareICState { // SMI < NUMBER // INTERNALIZED_STRING < STRING // INTERNALIZED_STRING < UNIQUE_NAME - // KNOWN_OBJECT < OBJECT + // KNOWN_RECEIVER < RECEIVER enum State { UNINITIALIZED, BOOLEAN, @@ -182,9 +182,9 @@ class CompareICState { NUMBER, STRING, INTERNALIZED_STRING, - UNIQUE_NAME, // Symbol or InternalizedString - OBJECT, // JSObject - KNOWN_OBJECT, // JSObject with specific map (faster check) + UNIQUE_NAME, // Symbol or InternalizedString + RECEIVER, // JSReceiver + KNOWN_RECEIVER, // JSReceiver with specific map (faster check) GENERIC }; |