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 19 matching lines...) Expand all Loading... |
30 #include "v8.h" | 30 #include "v8.h" |
31 | 31 |
32 #include "api.h" | 32 #include "api.h" |
33 #include "cctest.h" | 33 #include "cctest.h" |
34 #include "compilation-cache.h" | 34 #include "compilation-cache.h" |
35 #include "debug.h" | 35 #include "debug.h" |
36 #include "deoptimizer.h" | 36 #include "deoptimizer.h" |
37 #include "frames.h" | 37 #include "frames.h" |
38 #include "platform.h" | 38 #include "platform.h" |
39 #include "platform/condition-variable.h" | 39 #include "platform/condition-variable.h" |
40 #include "platform/socket.h" | |
41 #include "stub-cache.h" | 40 #include "stub-cache.h" |
42 #include "utils.h" | 41 #include "utils.h" |
43 | 42 |
44 | 43 |
45 using ::v8::internal::Mutex; | 44 using ::v8::internal::Mutex; |
46 using ::v8::internal::LockGuard; | 45 using ::v8::internal::LockGuard; |
47 using ::v8::internal::ConditionVariable; | 46 using ::v8::internal::ConditionVariable; |
48 using ::v8::internal::Semaphore; | 47 using ::v8::internal::Semaphore; |
49 using ::v8::internal::EmbeddedVector; | 48 using ::v8::internal::EmbeddedVector; |
50 using ::v8::internal::Object; | 49 using ::v8::internal::Object; |
(...skipping 7371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7422 env->Global()->Set(v8_str("add_debug_break"), add_debug_break); | 7421 env->Global()->Set(v8_str("add_debug_break"), add_debug_break); |
7423 | 7422 |
7424 CompileRun("(function loop() {" | 7423 CompileRun("(function loop() {" |
7425 " for (var j = 0; j < 1000; j++) {" | 7424 " for (var j = 0; j < 1000; j++) {" |
7426 " for (var i = 0; i < 1000; i++) {" | 7425 " for (var i = 0; i < 1000; i++) {" |
7427 " if (i == 999) add_debug_break();" | 7426 " if (i == 999) add_debug_break();" |
7428 " }" | 7427 " }" |
7429 " }" | 7428 " }" |
7430 "})()"); | 7429 "})()"); |
7431 } | 7430 } |
OLD | NEW |