| 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 20 matching lines...) Expand all Loading... |
| 31 #include <cmath> // For isnan. | 31 #include <cmath> // For isnan. |
| 32 #include "../include/v8-debug.h" | 32 #include "../include/v8-debug.h" |
| 33 #include "../include/v8-profiler.h" | 33 #include "../include/v8-profiler.h" |
| 34 #include "../include/v8-testing.h" | 34 #include "../include/v8-testing.h" |
| 35 #include "assert-scope.h" | 35 #include "assert-scope.h" |
| 36 #include "bootstrapper.h" | 36 #include "bootstrapper.h" |
| 37 #include "code-stubs.h" | 37 #include "code-stubs.h" |
| 38 #include "compiler.h" | 38 #include "compiler.h" |
| 39 #include "conversions-inl.h" | 39 #include "conversions-inl.h" |
| 40 #include "counters.h" | 40 #include "counters.h" |
| 41 #include "cpu-profiler.h" |
| 41 #include "debug.h" | 42 #include "debug.h" |
| 42 #include "deoptimizer.h" | 43 #include "deoptimizer.h" |
| 43 #include "execution.h" | 44 #include "execution.h" |
| 44 #include "global-handles.h" | 45 #include "global-handles.h" |
| 45 #include "heap-profiler.h" | 46 #include "heap-profiler.h" |
| 46 #include "heap-snapshot-generator-inl.h" | 47 #include "heap-snapshot-generator-inl.h" |
| 47 #include "messages.h" | 48 #include "messages.h" |
| 48 #ifdef COMPRESS_STARTUP_DATA_BZ2 | 49 #ifdef COMPRESS_STARTUP_DATA_BZ2 |
| 49 #include "natives.h" | 50 #include "natives.h" |
| 50 #endif | 51 #endif |
| (...skipping 7988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8039 Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate()); | 8040 Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate()); |
| 8040 Address callback_address = | 8041 Address callback_address = |
| 8041 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); | 8042 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); |
| 8042 VMState<EXTERNAL> state(isolate); | 8043 VMState<EXTERNAL> state(isolate); |
| 8043 ExternalCallbackScope call_scope(isolate, callback_address); | 8044 ExternalCallbackScope call_scope(isolate, callback_address); |
| 8044 return callback(info); | 8045 return callback(info); |
| 8045 } | 8046 } |
| 8046 | 8047 |
| 8047 | 8048 |
| 8048 } } // namespace v8::internal | 8049 } } // namespace v8::internal |
| OLD | NEW |