| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 return c_limit; | 72 return c_limit; |
| 73 } | 73 } |
| 74 | 74 |
| 75 static inline uintptr_t RegisterCTryCatch(uintptr_t try_catch_address) { | 75 static inline uintptr_t RegisterCTryCatch(uintptr_t try_catch_address) { |
| 76 return try_catch_address; | 76 return try_catch_address; |
| 77 } | 77 } |
| 78 | 78 |
| 79 static inline void UnregisterCTryCatch() { } | 79 static inline void UnregisterCTryCatch() { } |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 } } // namespace v8::internal |
| 83 |
| 82 #else // !defined(USE_SIMULATOR) | 84 #else // !defined(USE_SIMULATOR) |
| 83 // Running with a simulator. | 85 // Running with a simulator. |
| 84 | 86 |
| 85 #include "constants-arm.h" | 87 #include "constants-arm.h" |
| 86 #include "hashmap.h" | 88 #include "hashmap.h" |
| 87 #include "assembler.h" | 89 #include "assembler.h" |
| 88 | 90 |
| 89 namespace v8 { | 91 namespace v8 { |
| 90 namespace internal { | 92 namespace internal { |
| 91 | 93 |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 | 398 |
| 397 static inline void UnregisterCTryCatch() { | 399 static inline void UnregisterCTryCatch() { |
| 398 Simulator::current(Isolate::Current())->PopAddress(); | 400 Simulator::current(Isolate::Current())->PopAddress(); |
| 399 } | 401 } |
| 400 }; | 402 }; |
| 401 | 403 |
| 402 } } // namespace v8::internal | 404 } } // namespace v8::internal |
| 403 | 405 |
| 404 #endif // !defined(USE_SIMULATOR) | 406 #endif // !defined(USE_SIMULATOR) |
| 405 #endif // V8_ARM_SIMULATOR_ARM_H_ | 407 #endif // V8_ARM_SIMULATOR_ARM_H_ |
| OLD | NEW |