OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 <stdlib.h> | 5 #include <stdlib.h> |
6 | 6 |
7 #include "test/cctest/test-api.h" | 7 #include "test/cctest/test-api.h" |
8 | 8 |
9 #include "include/v8-util.h" | 9 #include "include/v8-util.h" |
10 #include "src/api.h" | 10 #include "src/api.h" |
11 #include "src/arguments.h" | 11 #include "src/arguments.h" |
12 #include "src/base/platform/platform.h" | 12 #include "src/base/platform/platform.h" |
13 #include "src/compilation-cache.h" | 13 #include "src/compilation-cache.h" |
14 #include "src/execution.h" | 14 #include "src/execution.h" |
15 #include "src/objects.h" | 15 #include "src/objects.h" |
16 #include "src/parser.h" | 16 #include "src/parser.h" |
17 #include "src/smart-pointers.h" | 17 #include "src/smart-pointers.h" |
18 #include "src/snapshot.h" | |
19 #include "src/unicode-inl.h" | 18 #include "src/unicode-inl.h" |
20 #include "src/utils.h" | 19 #include "src/utils.h" |
21 #include "src/vm-state.h" | 20 #include "src/vm-state.h" |
22 | 21 |
23 using ::v8::Boolean; | 22 using ::v8::Boolean; |
24 using ::v8::BooleanObject; | 23 using ::v8::BooleanObject; |
25 using ::v8::Context; | 24 using ::v8::Context; |
26 using ::v8::Extension; | 25 using ::v8::Extension; |
27 using ::v8::Function; | 26 using ::v8::Function; |
28 using ::v8::FunctionTemplate; | 27 using ::v8::FunctionTemplate; |
(...skipping 3274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3303 "var obj = intercepted_1;" | 3302 "var obj = intercepted_1;" |
3304 "obj.x = 4;" | 3303 "obj.x = 4;" |
3305 "eval('obj.x');" | 3304 "eval('obj.x');" |
3306 "eval('obj.x');" | 3305 "eval('obj.x');" |
3307 "eval('obj.x');" | 3306 "eval('obj.x');" |
3308 "obj = intercepted_2;" | 3307 "obj = intercepted_2;" |
3309 "obj.x = 9;" | 3308 "obj.x = 9;" |
3310 "eval('obj.x');", | 3309 "eval('obj.x');", |
3311 9); | 3310 9); |
3312 } | 3311 } |
OLD | NEW |