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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "runtime.h" | 44 #include "runtime.h" |
45 #include "token.h" | 45 #include "token.h" |
46 | 46 |
47 namespace v8 { | 47 namespace v8 { |
48 | 48 |
49 class ApiFunction; | 49 class ApiFunction; |
50 | 50 |
51 namespace internal { | 51 namespace internal { |
52 | 52 |
53 struct StatsCounter; | 53 struct StatsCounter; |
54 const unsigned kNoASTId = UINT_MAX; | |
55 // ----------------------------------------------------------------------------- | 54 // ----------------------------------------------------------------------------- |
56 // Platform independent assembler base class. | 55 // Platform independent assembler base class. |
57 | 56 |
58 class AssemblerBase: public Malloced { | 57 class AssemblerBase: public Malloced { |
59 public: | 58 public: |
60 explicit AssemblerBase(Isolate* isolate); | 59 explicit AssemblerBase(Isolate* isolate); |
61 | 60 |
62 Isolate* isolate() const { return isolate_; } | 61 Isolate* isolate() const { return isolate_; } |
63 int jit_cookie() { return jit_cookie_; } | 62 int jit_cookie() { return jit_cookie_; } |
64 | 63 |
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
891 public: | 890 public: |
892 NullCallWrapper() { } | 891 NullCallWrapper() { } |
893 virtual ~NullCallWrapper() { } | 892 virtual ~NullCallWrapper() { } |
894 virtual void BeforeCall(int call_size) const { } | 893 virtual void BeforeCall(int call_size) const { } |
895 virtual void AfterCall() const { } | 894 virtual void AfterCall() const { } |
896 }; | 895 }; |
897 | 896 |
898 } } // namespace v8::internal | 897 } } // namespace v8::internal |
899 | 898 |
900 #endif // V8_ASSEMBLER_H_ | 899 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |