Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(821)

Side by Side Diff: src/api.cc

Issue 1282503003: Remove several grab-bag includes from the v8.h header. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/api.h" 5 #include "src/api.h"
6 6
7 #include <string.h> // For memcpy, strlen. 7 #include <string.h> // For memcpy, strlen.
8 #ifdef V8_USE_ADDRESS_SANITIZER 8 #ifdef V8_USE_ADDRESS_SANITIZER
9 #include <sanitizer/asan_interface.h> 9 #include <sanitizer/asan_interface.h>
10 #endif // V8_USE_ADDRESS_SANITIZER 10 #endif // V8_USE_ADDRESS_SANITIZER
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "src/property-details.h" 43 #include "src/property-details.h"
44 #include "src/prototype.h" 44 #include "src/prototype.h"
45 #include "src/runtime/runtime.h" 45 #include "src/runtime/runtime.h"
46 #include "src/runtime-profiler.h" 46 #include "src/runtime-profiler.h"
47 #include "src/sampler.h" 47 #include "src/sampler.h"
48 #include "src/scanner-character-streams.h" 48 #include "src/scanner-character-streams.h"
49 #include "src/simulator.h" 49 #include "src/simulator.h"
50 #include "src/snapshot/natives.h" 50 #include "src/snapshot/natives.h"
51 #include "src/snapshot/snapshot.h" 51 #include "src/snapshot/snapshot.h"
52 #include "src/unicode-inl.h" 52 #include "src/unicode-inl.h"
53 #include "src/v8.h"
53 #include "src/v8threads.h" 54 #include "src/v8threads.h"
54 #include "src/version.h" 55 #include "src/version.h"
55 #include "src/vm-state-inl.h" 56 #include "src/vm-state-inl.h"
56 57
57 58
58 namespace v8 { 59 namespace v8 {
59 60
60 #define LOG_API(isolate, expr) LOG(isolate, ApiEntryCall(expr)) 61 #define LOG_API(isolate, expr) LOG(isolate, ApiEntryCall(expr))
61 62
62 63
(...skipping 8360 matching lines...) Expand 10 before | Expand all | Expand 10 after
8423 Address callback_address = 8424 Address callback_address =
8424 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); 8425 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback));
8425 VMState<EXTERNAL> state(isolate); 8426 VMState<EXTERNAL> state(isolate);
8426 ExternalCallbackScope call_scope(isolate, callback_address); 8427 ExternalCallbackScope call_scope(isolate, callback_address);
8427 callback(info); 8428 callback(info);
8428 } 8429 }
8429 8430
8430 8431
8431 } // namespace internal 8432 } // namespace internal
8432 } // namespace v8 8433 } // namespace v8
OLDNEW
« no previous file with comments | « src/api.h ('k') | src/arm/lithium-gap-resolver-arm.h » ('j') | src/v8.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698