diff options
author | Michaƫl Zasso <targos@protonmail.com> | 2017-09-12 11:34:59 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-09-13 16:15:18 +0200 |
commit | d82e1075dbc2cec2d6598ade10c1f43805f690fd (patch) | |
tree | ccd242b9b491dfc341d1099fe11b0ef528839877 /deps/v8/src/interpreter/interpreter-assembler.h | |
parent | b4b7ac6ae811b2b5a3082468115dfb5a5246fe3f (diff) | |
download | node-new-d82e1075dbc2cec2d6598ade10c1f43805f690fd.tar.gz |
deps: update V8 to 6.1.534.36
PR-URL: https://github.com/nodejs/node/pull/14730
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'deps/v8/src/interpreter/interpreter-assembler.h')
-rw-r--r-- | deps/v8/src/interpreter/interpreter-assembler.h | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/deps/v8/src/interpreter/interpreter-assembler.h b/deps/v8/src/interpreter/interpreter-assembler.h index c2e0bb3bd7..7a4d836f05 100644 --- a/deps/v8/src/interpreter/interpreter-assembler.h +++ b/deps/v8/src/interpreter/interpreter-assembler.h @@ -81,12 +81,11 @@ class V8_EXPORT_PRIVATE InterpreterAssembler : public CodeStubAssembler { void GotoIfHasContextExtensionUpToDepth(compiler::Node* context, compiler::Node* depth, Label* target); - // Number of registers. - compiler::Node* RegisterCount(); - // Backup/restore register file to/from a fixed array of the correct length. - compiler::Node* ExportRegisterFile(compiler::Node* array); - compiler::Node* ImportRegisterFile(compiler::Node* array); + compiler::Node* ExportRegisterFile(compiler::Node* array, + compiler::Node* register_count); + compiler::Node* ImportRegisterFile(compiler::Node* array, + compiler::Node* register_count); // Loads from and stores to the interpreter register file. compiler::Node* LoadRegister(Register reg); @@ -125,19 +124,20 @@ class V8_EXPORT_PRIVATE InterpreterAssembler : public CodeStubAssembler { // If the |receiver_mode| is kNullOrUndefined, then the receiver is implicitly // undefined and |first_arg| is the first parameter. Otherwise, |first_arg| is // the receiver and it is converted according to |receiver_mode|. - compiler::Node* CallJSWithFeedback( - compiler::Node* function, compiler::Node* context, - compiler::Node* first_arg, compiler::Node* arg_count, - compiler::Node* slot_id, compiler::Node* feedback_vector, - ConvertReceiverMode receiver_mode, TailCallMode tail_call_mode); + compiler::Node* CallJSWithFeedback(compiler::Node* function, + compiler::Node* context, + compiler::Node* first_arg, + compiler::Node* arg_count, + compiler::Node* slot_id, + compiler::Node* feedback_vector, + ConvertReceiverMode receiver_mode); // Call JSFunction or Callable |function| with |arg_count| arguments (not // including receiver) and the first argument located at |first_arg|, possibly // including the receiver depending on |receiver_mode|. compiler::Node* CallJS(compiler::Node* function, compiler::Node* context, compiler::Node* first_arg, compiler::Node* arg_count, - ConvertReceiverMode receiver_mode, - TailCallMode tail_call_mode); + ConvertReceiverMode receiver_mode); // Call JSFunction or Callable |function| with |arg_count| // arguments (not including receiver) and the first argument @@ -221,6 +221,9 @@ class V8_EXPORT_PRIVATE InterpreterAssembler : public CodeStubAssembler { void Abort(BailoutReason bailout_reason); void AbortIfWordNotEqual(compiler::Node* lhs, compiler::Node* rhs, BailoutReason bailout_reason); + // Abort if |register_count| is invalid for given register file array. + void AbortIfRegisterCountInvalid(compiler::Node* register_file, + compiler::Node* register_count); // Dispatch to frame dropper trampoline if necessary. void MaybeDropFrames(compiler::Node* context); |