Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include <stdarg.h> | |
|
cshapiro
2011/11/11 01:26:19
This is already included in the vm/globals.h heade
| |
| 6 | |
| 5 #include "include/dart_api.h" | 7 #include "include/dart_api.h" |
| 6 | 8 |
| 7 #include "vm/bigint_operations.h" | 9 #include "vm/bigint_operations.h" |
| 8 #include "vm/class_finalizer.h" | 10 #include "vm/class_finalizer.h" |
| 9 #include "vm/compiler.h" | 11 #include "vm/compiler.h" |
| 10 #include "vm/dart.h" | 12 #include "vm/dart.h" |
| 11 #include "vm/dart_api_impl.h" | 13 #include "vm/dart_api_impl.h" |
| 12 #include "vm/dart_api_state.h" | 14 #include "vm/dart_api_state.h" |
| 13 #include "vm/dart_entry.h" | 15 #include "vm/dart_entry.h" |
| 14 #include "vm/debuginfo.h" | 16 #include "vm/debuginfo.h" |
| (...skipping 2101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2116 ASSERT(isolate != NULL); | 2118 ASSERT(isolate != NULL); |
| 2117 ApiState* state = isolate->api_state(); | 2119 ApiState* state = isolate->api_state(); |
| 2118 ASSERT(state != NULL); | 2120 ASSERT(state != NULL); |
| 2119 ApiLocalScope* scope = state->top_scope(); | 2121 ApiLocalScope* scope = state->top_scope(); |
| 2120 ASSERT(scope != NULL); | 2122 ASSERT(scope != NULL); |
| 2121 return scope->zone().Reallocate(ptr, old_size, new_size); | 2123 return scope->zone().Reallocate(ptr, old_size, new_size); |
| 2122 } | 2124 } |
| 2123 | 2125 |
| 2124 | 2126 |
| 2125 } // namespace dart | 2127 } // namespace dart |
| OLD | NEW |