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

Unified Diff: test/cctest/interpreter/bytecode_expectations/CompoundExpressions.golden

Issue 2111923002: [interpreter] Introduce binary op bytecodes for Smi operand. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 5 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
Index: test/cctest/interpreter/bytecode_expectations/CompoundExpressions.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/CompoundExpressions.golden b/test/cctest/interpreter/bytecode_expectations/CompoundExpressions.golden
index 16aa0e034d35adcd5a8ee3e18efbef07b79f2700..d48555df70d2ed6b2f2aa92cd2f907dabe7d4f59 100644
--- a/test/cctest/interpreter/bytecode_expectations/CompoundExpressions.golden
+++ b/test/cctest/interpreter/bytecode_expectations/CompoundExpressions.golden
@@ -13,13 +13,12 @@ snippet: "
"
frame size: 2
parameter count: 1
-bytecode array length: 16
+bytecode array length: 15
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaSmi), U8(1),
B(Star), R(0),
- /* 45 S> */ B(LdaSmi), U8(2),
- B(Add), R(0),
+ /* 45 S> */ B(AddSmi), U8(2), R(0),
B(Mov), R(0), R(1),
B(Star), R(0),
B(LdaUndefined),
@@ -112,7 +111,7 @@ snippet: "
"
frame size: 2
parameter count: 1
-bytecode array length: 29
+bytecode array length: 28
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
@@ -121,8 +120,7 @@ bytecodes: [
/* 42 E> */ B(StaContextSlot), R(context), U8(4),
/* 45 S> */ B(CreateClosure), U8(0), U8(2),
/* 75 S> */ B(LdrContextSlot), R(context), U8(4), R(1),
- B(LdaSmi), U8(24),
- B(BitwiseOr), R(1),
+ B(BitwiseOrSmi), U8(24), R(1),
/* 77 E> */ B(StaContextSlot), R(context), U8(4),
B(LdaUndefined),
/* 84 S> */ B(Return),

Powered by Google App Engine
This is Rietveld 408576698