OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
945 if (stack_guard->IsInterrupted()) { | 945 if (stack_guard->IsInterrupted()) { |
946 stack_guard->Continue(INTERRUPT); | 946 stack_guard->Continue(INTERRUPT); |
947 return isolate->StackOverflow(); | 947 return isolate->StackOverflow(); |
948 } | 948 } |
949 if (stack_guard->IsFullDeopt()) { | 949 if (stack_guard->IsFullDeopt()) { |
950 stack_guard->Continue(FULL_DEOPT); | 950 stack_guard->Continue(FULL_DEOPT); |
951 Deoptimizer::DeoptimizeAll(isolate); | 951 Deoptimizer::DeoptimizeAll(isolate); |
952 } | 952 } |
953 if (stack_guard->IsInstallCodeRequest()) { | 953 if (stack_guard->IsInstallCodeRequest()) { |
954 ASSERT(FLAG_concurrent_recompilation); | 954 ASSERT(FLAG_concurrent_recompilation); |
955 stack_guard->Continue(INSTALL_CODE); | 955 isolate_->stack_guard()->Continue(INSTALL_CODE); |
956 isolate->optimizing_compiler_thread()->InstallOptimizedFunctions(); | 956 isolate->optimizing_compiler_thread()->InstallOptimizedFunctions(); |
957 } | 957 } |
958 isolate->runtime_profiler()->OptimizeNow(); | 958 isolate->runtime_profiler()->OptimizeNow(); |
959 return isolate->heap()->undefined_value(); | 959 return isolate->heap()->undefined_value(); |
960 } | 960 } |
961 | 961 |
962 | 962 |
963 } } // namespace v8::internal | 963 } } // namespace v8::internal |
OLD | NEW |