Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(773)

Unified Diff: test/unittests/interpreter/bytecode-array-builder-unittest.cc

Issue 1688283003: [Interpreter] Implements calls through CallICStub in the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removes an unused label declaration. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/interpreter/bytecode-array-builder-unittest.cc
diff --git a/test/unittests/interpreter/bytecode-array-builder-unittest.cc b/test/unittests/interpreter/bytecode-array-builder-unittest.cc
index 21de16f03849124c3640ff7993bffd61a131f883..4eb60332f09b1b410bfeada155e2e2c2b827e316 100644
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc
@@ -94,10 +94,14 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) {
.CreateObjectLiteral(factory->NewFixedArray(1), 0, 0);
// Call operations.
- builder.Call(reg, other, 1, 0)
- .Call(reg, wide, 1, 0)
- .TailCall(reg, other, 1, 0)
- .TailCall(reg, wide, 1, 0)
+ builder.Call(reg, other, 1)
+ .Call(reg, wide, 1)
+ .TailCall(reg, other, 1)
+ .TailCall(reg, wide, 1)
+ .CallIC(reg, other, 1, 0, TailCallMode::kDisallow)
+ .CallIC(reg, other, 1, 0, TailCallMode::kAllow)
+ .CallIC(reg, wide, 1, 0, TailCallMode::kDisallow)
+ .CallIC(reg, wide, 1, 0, TailCallMode::kAllow)
.CallRuntime(Runtime::kIsArray, reg, 1)
.CallRuntime(Runtime::kIsArray, wide, 1)
.CallRuntimeForPair(Runtime::kLoadLookupSlotForCall, reg, 1, other)
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698