ed35983ab7
The Ldr[Named/Keyed]Property bytecodes are problematic for the deoptimizer when inlining accessors in TurboFan. Remove them and replace with a Star lookahead in the bytecode handlers for Lda[Named/Keyed]Property. BUG=v8:4280 Review-Url: https://codereview.chromium.org/2485383002 Cr-Commit-Position: refs/heads/master@{#40860}
70 lines
1.3 KiB
Plaintext
70 lines
1.3 KiB
Plaintext
#
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
#
|
|
|
|
---
|
|
wrap: yes
|
|
|
|
---
|
|
snippet: "
|
|
return /ab+d/;
|
|
"
|
|
frame size: 0
|
|
parameter count: 1
|
|
bytecode array length: 6
|
|
bytecodes: [
|
|
/* 30 E> */ B(StackCheck),
|
|
/* 34 S> */ B(CreateRegExpLiteral), U8(0), U8(0), U8(0),
|
|
/* 49 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["ab+d"],
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
---
|
|
snippet: "
|
|
return /(\\w+)\\s(\\w+)/i;
|
|
"
|
|
frame size: 0
|
|
parameter count: 1
|
|
bytecode array length: 6
|
|
bytecodes: [
|
|
/* 30 E> */ B(StackCheck),
|
|
/* 34 S> */ B(CreateRegExpLiteral), U8(0), U8(0), U8(2),
|
|
/* 58 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["(\u005cw+)\u005cs(\u005cw+)"],
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
---
|
|
snippet: "
|
|
return /ab+d/.exec('abdd');
|
|
"
|
|
frame size: 3
|
|
parameter count: 1
|
|
bytecode array length: 23
|
|
bytecodes: [
|
|
/* 30 E> */ B(StackCheck),
|
|
/* 34 S> */ B(CreateRegExpLiteral), U8(0), U8(0), U8(0),
|
|
B(Star), R(1),
|
|
/* 47 E> */ B(LdaNamedProperty), R(1), U8(1), U8(4),
|
|
B(Star), R(0),
|
|
B(LdaConstant), U8(2),
|
|
B(Star), R(2),
|
|
/* 48 E> */ B(CallProperty), R(0), R(1), U8(2), U8(2),
|
|
/* 62 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["ab+d"],
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["exec"],
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["abdd"],
|
|
]
|
|
handlers: [
|
|
]
|
|
|