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 13 matching lines...) Expand all Loading... |
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 #include <stdlib.h> | 28 #include <stdlib.h> |
29 | 29 |
30 #include "v8.h" | 30 #include "v8.h" |
31 | 31 |
32 #include "api.h" | 32 #include "api.h" |
33 #include "bootstrapper.h" | 33 #include "bootstrapper.h" |
34 #include "codegen-inl.h" | 34 #include "codegen.h" |
35 #include "debug.h" | 35 #include "debug.h" |
36 #include "runtime-profiler.h" | 36 #include "runtime-profiler.h" |
37 #include "simulator.h" | 37 #include "simulator.h" |
38 #include "v8threads.h" | 38 #include "v8threads.h" |
39 #include "vm-state-inl.h" | 39 #include "vm-state-inl.h" |
40 | 40 |
41 namespace v8 { | 41 namespace v8 { |
42 namespace internal { | 42 namespace internal { |
43 | 43 |
44 | 44 |
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 return isolate->TerminateExecution(); | 782 return isolate->TerminateExecution(); |
783 } | 783 } |
784 if (stack_guard->IsInterrupted()) { | 784 if (stack_guard->IsInterrupted()) { |
785 stack_guard->Continue(INTERRUPT); | 785 stack_guard->Continue(INTERRUPT); |
786 return isolate->StackOverflow(); | 786 return isolate->StackOverflow(); |
787 } | 787 } |
788 return isolate->heap()->undefined_value(); | 788 return isolate->heap()->undefined_value(); |
789 } | 789 } |
790 | 790 |
791 } } // namespace v8::internal | 791 } } // namespace v8::internal |
OLD | NEW |