| Index: runtime/vm/native_entry.h
|
| ===================================================================
|
| --- runtime/vm/native_entry.h (revision 11621)
|
| +++ runtime/vm/native_entry.h (working copy)
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "vm/allocation.h"
|
| #include "vm/assembler.h"
|
| +#include "vm/code_generator.h"
|
| #include "vm/exceptions.h"
|
| #include "vm/native_arguments.h"
|
| #include "vm/verifier.h"
|
| @@ -15,6 +16,7 @@
|
|
|
| namespace dart {
|
|
|
| +DECLARE_FLAG(bool, deoptimize_alot);
|
| DECLARE_FLAG(bool, trace_natives);
|
|
|
| // Forward declarations.
|
| @@ -44,6 +46,7 @@
|
| Zone zone(arguments->isolate()); \
|
| HANDLESCOPE(arguments->isolate()); \
|
| DN_Helper##name(arguments->isolate(), arguments); \
|
| + if (FLAG_deoptimize_alot) DeoptimizeAll(); \
|
| } \
|
| VERIFY_ON_TRANSITION; \
|
| } \
|
|
|