14c5c4fde7
This reverts commit a2fcdc7cc8
.
Reason for revert: Large regressions in RCS (https://chromeperf.appspot.com/group_report?bug_id=740126)
Original change's description:
> [runtime] Move profiler ticks from SFI to feedback vector
>
> Instead of counting profiler ticks on the shared function info (which is
> shared between native contexts), count them on the feedback vector
> (which is not). This allows us to continue pushing optimization
> decisions off the SFI, onto the feedback vector.
>
> Note that a side-effect of this is that ICs don't have to walk the stack
> to reset profiler ticks, as they can access the feedback vector directly
> from their feedback nexus.
>
> Change-Id: I232ae9e759fca75cd89d393148a4ff42caa2646f
> Reviewed-on: https://chromium-review.googlesource.com/544888
> Reviewed-by: Igor Sheludko <ishell@chromium.org>
> Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
> Commit-Queue: Leszek Swirski <leszeks@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#46411}
TBR=rmcilroy@chromium.org,leszeks@chromium.org,ishell@chromium.org
# Not skipping CQ checks because original CL landed > 1 day ago.
Change-Id: Id587e4172e300c420f93c49744a2a0e66696edf8
Reviewed-on: https://chromium-review.googlesource.com/574227
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46702}
244 lines
5.1 KiB
Plaintext
244 lines
5.1 KiB
Plaintext
#
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
#
|
|
|
|
---
|
|
wrap: yes
|
|
|
|
---
|
|
snippet: "
|
|
var obj_a = {val:1};
|
|
var b = 10;
|
|
if (obj_a == null) { b = 20;}
|
|
return b;
|
|
"
|
|
frame size: 3
|
|
parameter count: 1
|
|
bytecode array length: 25
|
|
bytecodes: [
|
|
/* 30 E> */ B(StackCheck),
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(41), R(2),
|
|
B(Mov), R(2), R(0),
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
|
B(Star), R(1),
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
B(TestUndetectable),
|
|
B(JumpIfFalse), U8(6),
|
|
/* 88 S> */ B(LdaSmi), I8(20),
|
|
B(Star), R(1),
|
|
/* 97 S> */ B(Ldar), R(1),
|
|
/* 106 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
FIXED_ARRAY_TYPE,
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
---
|
|
snippet: "
|
|
var obj_a = {val:1};
|
|
var b = 10;
|
|
if (obj_a == undefined) { b = 20;}
|
|
return b;
|
|
"
|
|
frame size: 3
|
|
parameter count: 1
|
|
bytecode array length: 25
|
|
bytecodes: [
|
|
/* 30 E> */ B(StackCheck),
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(41), R(2),
|
|
B(Mov), R(2), R(0),
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
|
B(Star), R(1),
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
B(TestUndetectable),
|
|
B(JumpIfFalse), U8(6),
|
|
/* 93 S> */ B(LdaSmi), I8(20),
|
|
B(Star), R(1),
|
|
/* 102 S> */ B(Ldar), R(1),
|
|
/* 111 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
FIXED_ARRAY_TYPE,
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
---
|
|
snippet: "
|
|
var obj_a = {val:1};
|
|
var b = 10;
|
|
if (obj_a != null) { b = 20;}
|
|
return b;
|
|
"
|
|
frame size: 3
|
|
parameter count: 1
|
|
bytecode array length: 25
|
|
bytecodes: [
|
|
/* 30 E> */ B(StackCheck),
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(41), R(2),
|
|
B(Mov), R(2), R(0),
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
|
B(Star), R(1),
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
B(TestUndetectable),
|
|
B(JumpIfTrue), U8(6),
|
|
/* 88 S> */ B(LdaSmi), I8(20),
|
|
B(Star), R(1),
|
|
/* 97 S> */ B(Ldar), R(1),
|
|
/* 106 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
FIXED_ARRAY_TYPE,
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
---
|
|
snippet: "
|
|
var obj_a = {val:1};
|
|
var b = 10;
|
|
if (obj_a != undefined) { b = 20;}
|
|
return b;
|
|
"
|
|
frame size: 3
|
|
parameter count: 1
|
|
bytecode array length: 25
|
|
bytecodes: [
|
|
/* 30 E> */ B(StackCheck),
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(41), R(2),
|
|
B(Mov), R(2), R(0),
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
|
B(Star), R(1),
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
B(TestUndetectable),
|
|
B(JumpIfTrue), U8(6),
|
|
/* 93 S> */ B(LdaSmi), I8(20),
|
|
B(Star), R(1),
|
|
/* 102 S> */ B(Ldar), R(1),
|
|
/* 111 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
FIXED_ARRAY_TYPE,
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
---
|
|
snippet: "
|
|
var obj_a = {val:1};
|
|
var b = 10;
|
|
if (obj_a === null) { b = 20;}
|
|
return b;
|
|
"
|
|
frame size: 3
|
|
parameter count: 1
|
|
bytecode array length: 24
|
|
bytecodes: [
|
|
/* 30 E> */ B(StackCheck),
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(41), R(2),
|
|
B(Mov), R(2), R(0),
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
|
B(Star), R(1),
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
B(JumpIfNotNull), U8(6),
|
|
/* 89 S> */ B(LdaSmi), I8(20),
|
|
B(Star), R(1),
|
|
/* 98 S> */ B(Ldar), R(1),
|
|
/* 107 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
FIXED_ARRAY_TYPE,
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
---
|
|
snippet: "
|
|
var obj_a = {val:1};
|
|
var b = 10;
|
|
if (obj_a === undefined) { b = 20;}
|
|
return b;
|
|
"
|
|
frame size: 3
|
|
parameter count: 1
|
|
bytecode array length: 24
|
|
bytecodes: [
|
|
/* 30 E> */ B(StackCheck),
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(41), R(2),
|
|
B(Mov), R(2), R(0),
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
|
B(Star), R(1),
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
B(JumpIfNotUndefined), U8(6),
|
|
/* 94 S> */ B(LdaSmi), I8(20),
|
|
B(Star), R(1),
|
|
/* 103 S> */ B(Ldar), R(1),
|
|
/* 112 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
FIXED_ARRAY_TYPE,
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
---
|
|
snippet: "
|
|
var obj_a = {val:1};
|
|
var b = 10;
|
|
if (obj_a !== null) { b = 20;}
|
|
return b;
|
|
"
|
|
frame size: 3
|
|
parameter count: 1
|
|
bytecode array length: 24
|
|
bytecodes: [
|
|
/* 30 E> */ B(StackCheck),
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(41), R(2),
|
|
B(Mov), R(2), R(0),
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
|
B(Star), R(1),
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
B(JumpIfNull), U8(6),
|
|
/* 89 S> */ B(LdaSmi), I8(20),
|
|
B(Star), R(1),
|
|
/* 98 S> */ B(Ldar), R(1),
|
|
/* 107 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
FIXED_ARRAY_TYPE,
|
|
]
|
|
handlers: [
|
|
]
|
|
|
|
---
|
|
snippet: "
|
|
var obj_a = {val:1};
|
|
var b = 10;
|
|
if (obj_a !== undefined) { b = 20;}
|
|
return b;
|
|
"
|
|
frame size: 3
|
|
parameter count: 1
|
|
bytecode array length: 24
|
|
bytecodes: [
|
|
/* 30 E> */ B(StackCheck),
|
|
/* 46 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(41), R(2),
|
|
B(Mov), R(2), R(0),
|
|
/* 63 S> */ B(LdaSmi), I8(10),
|
|
B(Star), R(1),
|
|
/* 67 S> */ B(Ldar), R(0),
|
|
B(JumpIfUndefined), U8(6),
|
|
/* 94 S> */ B(LdaSmi), I8(20),
|
|
B(Star), R(1),
|
|
/* 103 S> */ B(Ldar), R(1),
|
|
/* 112 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
FIXED_ARRAY_TYPE,
|
|
]
|
|
handlers: [
|
|
]
|
|
|