OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 20 matching lines...) Expand all Loading... |
31 // The original source code covered by the above license above has been | 31 // The original source code covered by the above license above has been |
32 // modified significantly by Google Inc. | 32 // modified significantly by Google Inc. |
33 // Copyright 2012 the V8 project authors. All rights reserved. | 33 // Copyright 2012 the V8 project authors. All rights reserved. |
34 | 34 |
35 #ifndef V8_ASSEMBLER_H_ | 35 #ifndef V8_ASSEMBLER_H_ |
36 #define V8_ASSEMBLER_H_ | 36 #define V8_ASSEMBLER_H_ |
37 | 37 |
38 #include "src/allocation.h" | 38 #include "src/allocation.h" |
39 #include "src/builtins.h" | 39 #include "src/builtins.h" |
40 #include "src/isolate.h" | 40 #include "src/isolate.h" |
| 41 #include "src/parsing/token.h" |
41 #include "src/runtime/runtime.h" | 42 #include "src/runtime/runtime.h" |
42 #include "src/token.h" | |
43 | 43 |
44 namespace v8 { | 44 namespace v8 { |
45 | 45 |
46 // Forward declarations. | 46 // Forward declarations. |
47 class ApiFunction; | 47 class ApiFunction; |
48 | 48 |
49 namespace internal { | 49 namespace internal { |
50 | 50 |
51 // Forward declarations. | 51 // Forward declarations. |
52 class SourcePosition; | 52 class SourcePosition; |
(...skipping 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1280 std::vector<ConstantPoolEntry> shared_entries; | 1280 std::vector<ConstantPoolEntry> shared_entries; |
1281 }; | 1281 }; |
1282 | 1282 |
1283 Label emitted_label_; // Records pc_offset of emitted pool | 1283 Label emitted_label_; // Records pc_offset of emitted pool |
1284 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; | 1284 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; |
1285 }; | 1285 }; |
1286 | 1286 |
1287 } // namespace internal | 1287 } // namespace internal |
1288 } // namespace v8 | 1288 } // namespace v8 |
1289 #endif // V8_ASSEMBLER_H_ | 1289 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |