Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: runtime/vm/object.cc

Issue 9189003: Move assert.h/assert.cc from runtime/vm to runtime/platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Check for correct rebase Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/object_arm_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 "vm/object.h" 5 #include "vm/object.h"
6 6
7 #include "platform/assert.h"
7 #include "vm/assembler.h" 8 #include "vm/assembler.h"
8 #include "vm/assert.h"
9 #include "vm/bigint_operations.h" 9 #include "vm/bigint_operations.h"
10 #include "vm/bootstrap.h" 10 #include "vm/bootstrap.h"
11 #include "vm/code_generator.h" 11 #include "vm/code_generator.h"
12 #include "vm/code_index_table.h" 12 #include "vm/code_index_table.h"
13 #include "vm/code_patcher.h" 13 #include "vm/code_patcher.h"
14 #include "vm/compiler.h" 14 #include "vm/compiler.h"
15 #include "vm/compiler_stats.h" 15 #include "vm/compiler_stats.h"
16 #include "vm/class_finalizer.h" 16 #include "vm/class_finalizer.h"
17 #include "vm/dart.h" 17 #include "vm/dart.h"
18 #include "vm/dart_entry.h" 18 #include "vm/dart_entry.h"
(...skipping 7590 matching lines...) Expand 10 before | Expand all | Expand 10 after
7609 const String& str = String::Handle(pattern()); 7609 const String& str = String::Handle(pattern());
7610 const char* format = "JSRegExp: pattern=%s flags=%s"; 7610 const char* format = "JSRegExp: pattern=%s flags=%s";
7611 intptr_t len = OS::SNPrint(NULL, 0, format, str.ToCString(), Flags()); 7611 intptr_t len = OS::SNPrint(NULL, 0, format, str.ToCString(), Flags());
7612 char* chars = reinterpret_cast<char*>( 7612 char* chars = reinterpret_cast<char*>(
7613 Isolate::Current()->current_zone()->Allocate(len + 1)); 7613 Isolate::Current()->current_zone()->Allocate(len + 1));
7614 OS::SNPrint(chars, (len + 1), format, str.ToCString(), Flags()); 7614 OS::SNPrint(chars, (len + 1), format, str.ToCString(), Flags());
7615 return chars; 7615 return chars;
7616 } 7616 }
7617 7617
7618 } // namespace dart 7618 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/object_arm_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698