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

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

Issue 2489513005: [Interpreter] Remove all Ldr style bytecodes and replace with Star lookahead. (Closed)
Patch Set: Created 4 years, 1 month 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/ContextVariables.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden b/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden
index 61ccccf740b5f804e3ee633e297be0463f7bbefb..0ce069c4e89e8542edc9eb385f516d0f33e06e90 100644
--- a/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden
@@ -77,12 +77,13 @@ snippet: "
"
frame size: 3
parameter count: 1
-bytecode array length: 20
+bytecode array length: 21
bytecodes: [
B(CreateFunctionContext), U8(1),
B(PushContext), R(0),
/* 30 E> */ B(StackCheck),
- /* 41 S> */ B(LdrUndefined), R(2),
+ /* 41 S> */ B(LdaUndefined),
+ B(Star), R(2),
B(CreateClosure), U8(0), U8(2),
B(Star), R(1),
/* 64 E> */ B(Call), R(1), R(2), U8(1), U8(2),
@@ -389,7 +390,7 @@ snippet: "
"
frame size: 3
parameter count: 1
-bytecode array length: 789
+bytecode array length: 791
bytecodes: [
B(CreateFunctionContext), U8(254),
B(PushContext), R(0),
@@ -900,8 +901,10 @@ bytecodes: [
/* 3421 E> */ B(StaCurrentContextSlot), U8(254),
/* 3435 S> */ B(LdaZero),
/* 3435 E> */ B(StaCurrentContextSlot), U8(255),
- /* 3438 S> */ B(LdrUndefined), R(2),
- /* 3438 E> */ B(LdrGlobal), U8(4), R(1),
+ /* 3438 S> */ B(LdaUndefined),
+ B(Star), R(2),
+ /* 3438 E> */ B(LdaGlobal), U8(4),
+ B(Star), R(1),
/* 3438 E> */ B(Call), R(1), R(2), U8(1), U8(2),
/* 3454 S> */ B(LdaSmi), U8(100),
/* 3454 E> */ B(Wide), B(StaCurrentContextSlot), U16(256),

Powered by Google App Engine
This is Rietveld 408576698