 Chromium Code Reviews
 Chromium Code Reviews Issue 12036098:
  First set of changes towards cleaning up the bytearray access APIs  (Closed) 
  Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
    
  
    Issue 12036098:
  First set of changes towards cleaning up the bytearray access APIs  (Closed) 
  Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/| Index: vm/object.cc | 
| =================================================================== | 
| --- vm/object.cc (revision 17884) | 
| +++ vm/object.cc (working copy) | 
| @@ -1281,6 +1281,7 @@ | 
| Heap::Space space) { | 
| ASSERT(Utils::IsAligned(size, kObjectAlignment)); | 
| Isolate* isolate = Isolate::Current(); | 
| + ASSERT(isolate->no_callback_scope_depth() == 0); | 
| Heap* heap = isolate->heap(); | 
| uword address = heap->Allocate(size, space); |