| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 23 matching lines...) Expand all Loading... |
| 34 namespace internal { | 34 namespace internal { |
| 35 | 35 |
| 36 | 36 |
| 37 // Flag used to set the interrupt causes. | 37 // Flag used to set the interrupt causes. |
| 38 enum InterruptFlag { | 38 enum InterruptFlag { |
| 39 INTERRUPT = 1 << 0, | 39 INTERRUPT = 1 << 0, |
| 40 DEBUGBREAK = 1 << 1, | 40 DEBUGBREAK = 1 << 1, |
| 41 DEBUGCOMMAND = 1 << 2, | 41 DEBUGCOMMAND = 1 << 2, |
| 42 PREEMPT = 1 << 3, | 42 PREEMPT = 1 << 3, |
| 43 TERMINATE = 1 << 4, | 43 TERMINATE = 1 << 4, |
| 44 GC_REQUEST = 1 << 5, | 44 GC_REQUEST = 1 << 5 |
| 45 CODE_READY = 1 << 6 | |
| 46 }; | 45 }; |
| 47 | 46 |
| 48 | 47 |
| 49 class Isolate; | 48 class Isolate; |
| 50 | 49 |
| 51 | 50 |
| 52 class Execution : public AllStatic { | 51 class Execution : public AllStatic { |
| 53 public: | 52 public: |
| 54 // Call a function, the caller supplies a receiver and an array | 53 // Call a function, the caller supplies a receiver and an array |
| 55 // of arguments. Arguments are Object* type. After function returns, | 54 // of arguments. Arguments are Object* type. After function returns, |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 friend class StackLimitCheck; | 297 friend class StackLimitCheck; |
| 299 friend class PostponeInterruptsScope; | 298 friend class PostponeInterruptsScope; |
| 300 | 299 |
| 301 DISALLOW_COPY_AND_ASSIGN(StackGuard); | 300 DISALLOW_COPY_AND_ASSIGN(StackGuard); |
| 302 }; | 301 }; |
| 303 | 302 |
| 304 | 303 |
| 305 } } // namespace v8::internal | 304 } } // namespace v8::internal |
| 306 | 305 |
| 307 #endif // V8_EXECUTION_H_ | 306 #endif // V8_EXECUTION_H_ |
| OLD | NEW |