diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-09-04 19:53:05 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-09-04 20:25:23 +0200 |
| commit | 399addc8754ed0b484d3c159ac35befe1d3f652c (patch) | |
| tree | 38f937a6c625d253b50b0f51e988ed1c22630b57 /prog/encodingexec_test.go | |
| parent | 94e151ceb51191698a068d96191cdd86326050f9 (diff) | |
sys, pkg/compiler: move padding computation to compiler
This makes types constant during execution, everything is precomputed.
Diffstat (limited to 'prog/encodingexec_test.go')
| -rw-r--r-- | prog/encodingexec_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/encodingexec_test.go b/prog/encodingexec_test.go index ec8d74bba..bc9e1d705 100644 --- a/prog/encodingexec_test.go +++ b/prog/encodingexec_test.go @@ -133,7 +133,7 @@ func TestSerializeForExec(t *testing.T) { instrCopyin, dataOffset + 16, argConst, 2, 0x44, 0, 0, instrCopyin, dataOffset + 18, argConst, 2, 0x45, 0, 0, instrCopyin, dataOffset + 20, argConst, 2, 0x46, 0, 0, - instrCopyin, dataOffset + 24, argConst, 1, 0x47, 0, 0, + instrCopyin, dataOffset + 22, argConst, 1, 0x47, 0, 0, callID("syz_test$align5"), 1, argConst, ptrSize, dataOffset, 0, 0, instrEOF, }, |
