| 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 RUNTIME_PROFILER_TICK = 1 << 5, | 44 GC_REQUEST = 1 << 5, |
| 45 GC_REQUEST = 1 << 6, | 45 CODE_READY = 1 << 6 |
| 46 CODE_READY = 1 << 7 | |
| 47 }; | 46 }; |
| 48 | 47 |
| 49 | 48 |
| 50 class Isolate; | 49 class Isolate; |
| 51 | 50 |
| 52 | 51 |
| 53 class Execution : public AllStatic { | 52 class Execution : public AllStatic { |
| 54 public: | 53 public: |
| 55 // Call a function, the caller supplies a receiver and an array | 54 // Call a function, the caller supplies a receiver and an array |
| 56 // of arguments. Arguments are Object* type. After function returns, | 55 // of arguments. Arguments are Object* type. After function returns, |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 friend class StackLimitCheck; | 301 friend class StackLimitCheck; |
| 303 friend class PostponeInterruptsScope; | 302 friend class PostponeInterruptsScope; |
| 304 | 303 |
| 305 DISALLOW_COPY_AND_ASSIGN(StackGuard); | 304 DISALLOW_COPY_AND_ASSIGN(StackGuard); |
| 306 }; | 305 }; |
| 307 | 306 |
| 308 | 307 |
| 309 } } // namespace v8::internal | 308 } } // namespace v8::internal |
| 310 | 309 |
| 311 #endif // V8_EXECUTION_H_ | 310 #endif // V8_EXECUTION_H_ |
| OLD | NEW |