mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-07 08:03:29 +00:00
Bugfix applicaton compiler failed
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7Z5OU Signed-off-by: linxiang8 <linxiang8@huawei.com> Change-Id: I8e3cd9971226fcd77180ee76c67128fb81167585
This commit is contained in:
parent
dcc88a251b
commit
ff7cd71fe5
@ -36,7 +36,7 @@ void BytecodeCircuitBuilder::BytecodeToCircuit()
|
||||
void BytecodeCircuitBuilder::BuildRegionInfo()
|
||||
{
|
||||
uint32_t size = pcOffsets_.size();
|
||||
uint32_t end = size - 2; // 1: end
|
||||
uint32_t end = size - 1; // 1: end
|
||||
BytecodeIterator iterator(this, 0, end);
|
||||
|
||||
infoData_.resize(size);
|
||||
|
@ -262,7 +262,6 @@ void BytecodeInfoCollector::CollectMethodPcsFromBC(const uint32_t insSz, const u
|
||||
pcOffsets.emplace_back(curPc);
|
||||
bcIndex++;
|
||||
}
|
||||
pcOffsets.emplace_back(bcInsLast.GetAddress());
|
||||
bytecodeInfo_.SetMethodOffsetToFastCallInfo(methodOffset, canFastCall, noGC);
|
||||
method->SetIsFastCall(canFastCall);
|
||||
method->SetNoGCBit(noGC);
|
||||
|
@ -31,16 +31,6 @@ var m = {
|
||||
"a": "hello"
|
||||
}
|
||||
|
||||
// case3: last label equal bcLast
|
||||
function f() {}
|
||||
function f1() {
|
||||
return
|
||||
try {
|
||||
f()
|
||||
} catch(e) {
|
||||
}
|
||||
}
|
||||
|
||||
// case4: GetDeps
|
||||
function f2() {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user