Merge V8 5.3.332.45. DO NOT MERGE
Test: Manual
FPIIM-449
Change-Id: Id3254828b068abdea3cb10442e0172a8c9a98e03
(cherry picked from commit 13e2dadd00298019ed862f2b2fc5068bba730bcf)
diff --git a/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden b/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden
index ac5c042..7b69f9e 100644
--- a/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden
@@ -79,13 +79,12 @@
"
frame size: 3
parameter count: 1
-bytecode array length: 25
+bytecode array length: 24
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
/* 30 E> */ B(StackCheck),
- /* 41 S> */ B(LdaUndefined),
- B(Star), R(2),
+ /* 41 S> */ B(LdrUndefined), R(2),
B(CreateClosure), U8(0), U8(0),
B(Star), R(1),
/* 64 E> */ B(Call), R(1), R(2), U8(1), U8(1),
@@ -106,7 +105,7 @@
"
frame size: 4
parameter count: 1
-bytecode array length: 47
+bytecode array length: 46
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
@@ -117,8 +116,7 @@
/* 56 E> */ B(StaContextSlot), R(context), U8(4),
B(LdaConstant), U8(0),
B(Star), R(2),
- B(Ldar), R(closure),
- B(Star), R(3),
+ B(Mov), R(closure), R(3),
B(CallRuntime), U16(Runtime::kPushBlockContext), R(2), U8(2),
B(PushContext), R(1),
B(LdaTheHole),
@@ -394,7 +392,7 @@
"
frame size: 3
parameter count: 1
-bytecode array length: 1046
+bytecode array length: 1043
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
@@ -903,10 +901,8 @@
/* 3407 E> */ B(StaContextSlot), R(context), U8(254),
/* 3421 S> */ B(LdaZero),
/* 3421 E> */ B(StaContextSlot), R(context), U8(255),
- /* 3424 S> */ B(LdaUndefined),
- B(Star), R(2),
- /* 3424 E> */ B(LdaGlobal), U8(0), U8(1),
- B(Star), R(1),
+ /* 3424 S> */ B(LdrUndefined), R(2),
+ /* 3424 E> */ B(LdrGlobal), U8(1), R(1),
/* 3424 E> */ B(Call), R(1), R(2), U8(1), U8(0),
/* 3440 S> */ B(LdaSmi), U8(100),
/* 3440 E> */ B(Wide), B(StaContextSlot), R16(context), U16(256),
@@ -914,7 +910,6 @@
/* 3454 S> */ B(Return),
]
constant pool: [
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
]
handlers: [
]