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 |
|
Ivan Posva
2012/01/10 00:28:09
.
Mads Ager (google)
2012/01/10 06:55:05
Done.
| |
| 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 #ifndef BIN_BUILTIN_H_ | 5 #ifndef BIN_BUILTIN_H_ |
| 6 #define BIN_BUILTIN_H_ | 6 #define BIN_BUILTIN_H_ |
| 7 | 7 |
| 8 #include <stdio.h> | 8 #include <stdio.h> |
| 9 #include <stdlib.h> | 9 #include <stdlib.h> |
| 10 | 10 |
| 11 #include "include/dart_api.h" | 11 #include "include/dart_api.h" |
| 12 | |
| 13 #include "platform/globals.h" | 12 #include "platform/globals.h" |
| 14 | 13 |
| 15 #ifdef DEBUG | 14 #ifdef DEBUG |
| 16 #define ASSERT(expr) assert(expr) | 15 #define ASSERT(expr) assert(expr) |
| 17 #else | 16 #else |
| 18 #define ASSERT(expr) USE(expr) | 17 #define ASSERT(expr) USE(expr) |
| 19 #endif | 18 #endif |
| 20 | 19 |
| 21 #define FATAL(error) \ | 20 #define FATAL(error) \ |
| 22 fprintf(stderr, "%s\n", error); \ | 21 fprintf(stderr, "%s\n", error); \ |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 49 int argument_count); | 48 int argument_count); |
| 50 | 49 |
| 51 static const char Builtin_source_[]; | 50 static const char Builtin_source_[]; |
| 52 | 51 |
| 53 DISALLOW_ALLOCATION(); | 52 DISALLOW_ALLOCATION(); |
| 54 DISALLOW_IMPLICIT_CONSTRUCTORS(Builtin); | 53 DISALLOW_IMPLICIT_CONSTRUCTORS(Builtin); |
| 55 }; | 54 }; |
| 56 | 55 |
| 57 | 56 |
| 58 #endif // BIN_BUILTIN_H_ | 57 #endif // BIN_BUILTIN_H_ |
| OLD | NEW |