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 23 matching lines...) Expand all Loading... |
34 | 34 |
35 #if V8_OS_POSIX | 35 #if V8_OS_POSIX |
36 #include <unistd.h> // NOLINT | 36 #include <unistd.h> // NOLINT |
37 #endif | 37 #endif |
38 | 38 |
39 #include "include/v8-util.h" | 39 #include "include/v8-util.h" |
40 #include "src/api.h" | 40 #include "src/api.h" |
41 #include "src/arguments.h" | 41 #include "src/arguments.h" |
42 #include "src/base/platform/platform.h" | 42 #include "src/base/platform/platform.h" |
43 #include "src/compilation-cache.h" | 43 #include "src/compilation-cache.h" |
| 44 #include "src/debug.h" |
44 #include "src/execution.h" | 45 #include "src/execution.h" |
45 #include "src/objects.h" | 46 #include "src/objects.h" |
46 #include "src/parser.h" | 47 #include "src/parser.h" |
47 #include "src/smart-pointers.h" | 48 #include "src/smart-pointers.h" |
48 #include "src/unicode-inl.h" | 49 #include "src/unicode-inl.h" |
49 #include "src/utils.h" | 50 #include "src/utils.h" |
50 #include "src/vm-state.h" | 51 #include "src/vm-state.h" |
51 | 52 |
52 static const bool kLogThreading = false; | 53 static const bool kLogThreading = false; |
53 | 54 |
(...skipping 20964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21018 | 21019 |
21019 { | 21020 { |
21020 v8::HandleScope handle_scope(isolate); | 21021 v8::HandleScope handle_scope(isolate); |
21021 | 21022 |
21022 // Should work | 21023 // Should work |
21023 v8::Local<v8::Object> obj = v8::Object::New(isolate); | 21024 v8::Local<v8::Object> obj = v8::Object::New(isolate); |
21024 | 21025 |
21025 USE(obj); | 21026 USE(obj); |
21026 } | 21027 } |
21027 } | 21028 } |
OLD | NEW |