diff options
author | Michaël Zasso <targos@protonmail.com> | 2017-12-05 16:41:55 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2017-12-06 12:52:07 +0100 |
commit | 1854ba04e9a68f062beb299dd6e1479279b26363 (patch) | |
tree | d5b2df9b8c1deb6388f7a728fca8e1c98c779abe /deps/v8/test/cctest/interpreter/test-interpreter.cc | |
parent | b52c23b75f96e1c9d2c7b3a7e5619170d0a0d8e1 (diff) | |
download | node-new-1854ba04e9a68f062beb299dd6e1479279b26363.tar.gz |
deps: update V8 to 6.3.292.46
PR-URL: https://github.com/nodejs/node/pull/16271
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/v8/test/cctest/interpreter/test-interpreter.cc')
-rw-r--r-- | deps/v8/test/cctest/interpreter/test-interpreter.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/deps/v8/test/cctest/interpreter/test-interpreter.cc b/deps/v8/test/cctest/interpreter/test-interpreter.cc index 69839d4d68..e1134e85b1 100644 --- a/deps/v8/test/cctest/interpreter/test-interpreter.cc +++ b/deps/v8/test/cctest/interpreter/test-interpreter.cc @@ -811,8 +811,8 @@ TEST(InterpreterUnaryOpFeedback) { Handle<Object> any_feedback_value; }; TestCase const kTestCases[] = { - {Token::Value::ADD, smi_one, smi_max, number, str}, - {Token::Value::SUB, smi_one, smi_min, number, str}}; + {Token::Value::INC, smi_one, smi_max, number, str}, + {Token::Value::DEC, smi_one, smi_min, number, str}}; for (TestCase const& test_case : kTestCases) { BytecodeArrayBuilder builder(isolate, zone, 4, 0); @@ -826,13 +826,13 @@ TEST(InterpreterUnaryOpFeedback) { i::NewFeedbackMetadata(isolate, &feedback_spec); builder.LoadAccumulatorWithRegister(builder.Receiver()) - .CountOperation(test_case.op, GetIndex(slot0)) + .UnaryOperation(test_case.op, GetIndex(slot0)) .LoadAccumulatorWithRegister(builder.Parameter(0)) - .CountOperation(test_case.op, GetIndex(slot1)) + .UnaryOperation(test_case.op, GetIndex(slot1)) .LoadAccumulatorWithRegister(builder.Parameter(1)) - .CountOperation(test_case.op, GetIndex(slot2)) + .UnaryOperation(test_case.op, GetIndex(slot2)) .LoadAccumulatorWithRegister(builder.Parameter(2)) - .CountOperation(test_case.op, GetIndex(slot3)) + .UnaryOperation(test_case.op, GetIndex(slot3)) .Return(); Handle<BytecodeArray> bytecode_array = builder.ToBytecodeArray(isolate); |