| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 #include "core/dom/Document.h" | 33 #include "core/dom/Document.h" |
| 34 #include "core/dom/ExecutionContext.h" | 34 #include "core/dom/ExecutionContext.h" |
| 35 #include "core/fetch/CachedMetadata.h" | 35 #include "core/fetch/CachedMetadata.h" |
| 36 #include "core/fetch/ScriptResource.h" | 36 #include "core/fetch/ScriptResource.h" |
| 37 #include "core/frame/LocalFrame.h" | 37 #include "core/frame/LocalFrame.h" |
| 38 #include "core/inspector/InspectorInstrumentation.h" | 38 #include "core/inspector/InspectorInstrumentation.h" |
| 39 #include "core/inspector/InspectorTraceEvents.h" | 39 #include "core/inspector/InspectorTraceEvents.h" |
| 40 #include "core/inspector/ThreadDebugger.h" | 40 #include "core/inspector/ThreadDebugger.h" |
| 41 #include "platform/Histogram.h" | 41 #include "platform/Histogram.h" |
| 42 #include "platform/ScriptForbiddenScope.h" | 42 #include "platform/ScriptForbiddenScope.h" |
| 43 #include "platform/TraceEvent.h" | 43 #include "platform/tracing/TraceEvent.h" |
| 44 #include "public/platform/Platform.h" | 44 #include "public/platform/Platform.h" |
| 45 #include "wtf/CurrentTime.h" | 45 #include "wtf/CurrentTime.h" |
| 46 | 46 |
| 47 #if OS(WIN) | 47 #if OS(WIN) |
| 48 #include <malloc.h> | 48 #include <malloc.h> |
| 49 #else | 49 #else |
| 50 #include <alloca.h> | 50 #include <alloca.h> |
| 51 #endif | 51 #endif |
| 52 | 52 |
| 53 namespace blink { | 53 namespace blink { |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 V8CompileHistogram::Cacheability::Noncacheable, isolate, | 594 V8CompileHistogram::Cacheability::Noncacheable, isolate, |
| 595 v8AtomicString(isolate, "((e) => { throw e; })"), origin) | 595 v8AtomicString(isolate, "((e) => { throw e; })"), origin) |
| 596 .ToLocalChecked(); | 596 .ToLocalChecked(); |
| 597 v8::Local<v8::Function> thrower = runCompiledInternalScript(isolate, script) | 597 v8::Local<v8::Function> thrower = runCompiledInternalScript(isolate, script) |
| 598 .ToLocalChecked().As<v8::Function>(); | 598 .ToLocalChecked().As<v8::Function>(); |
| 599 v8::Local<v8::Value> args[] = { exception }; | 599 v8::Local<v8::Value> args[] = { exception }; |
| 600 callInternalFunction(thrower, thrower, WTF_ARRAY_LENGTH(args), args, isolate
); | 600 callInternalFunction(thrower, thrower, WTF_ARRAY_LENGTH(args), args, isolate
); |
| 601 } | 601 } |
| 602 | 602 |
| 603 } // namespace blink | 603 } // namespace blink |
| OLD | NEW |