DescriptionVM: Refactor assembler test that rely on the constant pool.
This makes the test code independent of the way we call Dart code and
makes it easier to change the calling convention.
The code for calling test code is now encapsulated in unit_test.h instead
of being spread over many different files.
I only changed the tests that need a constant pool set up, but the same strategy
could be used for all other assembler tests to avoid unnecessary duplicated
boilerplate code.
BUG=
R=zra@google.com
Committed: https://github.com/dart-lang/sdk/commit/25966d228d65ce1722bba854e62f0b1c7433018b
Patch Set 1 #
Total comments: 15
Patch Set 2 : fixed 32-bit build and strengthened asserts #
Total comments: 3
Patch Set 3 : don't set up frame in StoreIntoObject asm test #Patch Set 4 : Added comments, fixed that pass in Thread #
Messages
Total messages: 10 (1 generated)
|