Chromium Code Reviews| Index: runtime/vm/runtime_entry.h |
| =================================================================== |
| --- runtime/vm/runtime_entry.h (revision 2143) |
| +++ runtime/vm/runtime_entry.h (working copy) |
| @@ -33,6 +33,11 @@ |
| int argument_count() const { return argument_count_; } |
| uword GetEntryPoint() const { return reinterpret_cast<uword>(function()); } |
| + // Add function to a class and that class to the class dictionary so that |
| + // frame walking can be used (for testing purposes only). |
| + static const Function& RegisterFakeFunction(const char* name, |
|
Ivan Posva
2011/12/07 08:34:51
Please do not put testing code into non-test sourc
regis
2011/12/07 19:37:36
Made the function global in runtime_entry_test.cc.
|
| + const Code& code); |
| + |
| // Generate code to call the runtime entry. |
| void CallFromDart(Assembler* assembler) const; |
| void CallFromStub(Assembler* assembler) const; |