| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "isolate.h" | 43 #include "isolate.h" |
| 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 class StatsCounter; |
| 54 // ----------------------------------------------------------------------------- | 54 // ----------------------------------------------------------------------------- |
| 55 // Platform independent assembler base class. | 55 // Platform independent assembler base class. |
| 56 | 56 |
| 57 class AssemblerBase: public Malloced { | 57 class AssemblerBase: public Malloced { |
| 58 public: | 58 public: |
| 59 AssemblerBase(Isolate* isolate, void* buffer, int buffer_size); | 59 AssemblerBase(Isolate* isolate, void* buffer, int buffer_size); |
| 60 virtual ~AssemblerBase(); | 60 virtual ~AssemblerBase(); |
| 61 | 61 |
| 62 Isolate* isolate() const { return isolate_; } | 62 Isolate* isolate() const { return isolate_; } |
| 63 int jit_cookie() const { return jit_cookie_; } | 63 int jit_cookie() const { return jit_cookie_; } |
| (...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1031 public: | 1031 public: |
| 1032 NullCallWrapper() { } | 1032 NullCallWrapper() { } |
| 1033 virtual ~NullCallWrapper() { } | 1033 virtual ~NullCallWrapper() { } |
| 1034 virtual void BeforeCall(int call_size) const { } | 1034 virtual void BeforeCall(int call_size) const { } |
| 1035 virtual void AfterCall() const { } | 1035 virtual void AfterCall() const { } |
| 1036 }; | 1036 }; |
| 1037 | 1037 |
| 1038 } } // namespace v8::internal | 1038 } } // namespace v8::internal |
| 1039 | 1039 |
| 1040 #endif // V8_ASSEMBLER_H_ | 1040 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |