f633218b62
We seem to get some small wins from avoiding the Ldr bytecodes, probably due to reduced icache pressure since there are less bytecode handlers. Replace the Ldr bytecodes with Star lookahead inlined into the Lda versions. Also fixes IsAccumulatorLoadWithoutEffects to include LdaContextSlot and LdaCurrentContextSlot BUG=v8:4280 Review-Url: https://codereview.chromium.org/2489513005 Cr-Commit-Position: refs/heads/master@{#40883}
72 lines
1.3 KiB
Plaintext
72 lines
1.3 KiB
Plaintext
#
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
#
|
|
|
|
---
|
|
wrap: yes
|
|
|
|
---
|
|
snippet: "
|
|
return function(){ }
|
|
"
|
|
frame size: 0
|
|
parameter count: 1
|
|
bytecode array length: 5
|
|
bytecodes: [
|
|
/* 30 E> */ B(StackCheck),
|
|
/* 34 S> */ B(CreateClosure), U8(0), U8(2),
|
|
/* 55 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
SHARED_FUNCTION_INFO_TYPE,
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
---
|
|
snippet: "
|
|
return (function(){ })()
|
|
"
|
|
frame size: 2
|
|
parameter count: 1
|
|
bytecode array length: 15
|
|
bytecodes: [
|
|
/* 30 E> */ B(StackCheck),
|
|
/* 34 S> */ B(LdaUndefined),
|
|
B(Star), R(1),
|
|
B(CreateClosure), U8(0), U8(2),
|
|
B(Star), R(0),
|
|
/* 56 E> */ B(Call), R(0), R(1), U8(1), U8(2),
|
|
/* 59 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
SHARED_FUNCTION_INFO_TYPE,
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
---
|
|
snippet: "
|
|
return (function(x){ return x; })(1)
|
|
"
|
|
frame size: 3
|
|
parameter count: 1
|
|
bytecode array length: 19
|
|
bytecodes: [
|
|
/* 30 E> */ B(StackCheck),
|
|
/* 34 S> */ B(LdaUndefined),
|
|
B(Star), R(1),
|
|
B(CreateClosure), U8(0), U8(2),
|
|
B(Star), R(0),
|
|
B(LdaSmi), U8(1),
|
|
B(Star), R(2),
|
|
/* 67 E> */ B(Call), R(0), R(1), U8(2), U8(2),
|
|
/* 71 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
SHARED_FUNCTION_INFO_TYPE,
|
|
]
|
|
handlers: [
|
|
]
|
|
|