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

Side by Side Diff: test/cctest/test-api-interceptors.cc

Issue 2305883002: Remove unnessary includes of parser.h (Closed)
Patch Set: More fixes in asm-js.h Created 4 years, 3 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
« no previous file with comments | « test/cctest/test-api.cc ('k') | test/cctest/test-compiler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/parsing/parser.h"
17 #include "src/unicode-inl.h" 16 #include "src/unicode-inl.h"
18 #include "src/utils.h" 17 #include "src/utils.h"
19 18
20 using ::v8::Boolean; 19 using ::v8::Boolean;
21 using ::v8::BooleanObject; 20 using ::v8::BooleanObject;
22 using ::v8::Context; 21 using ::v8::Context;
23 using ::v8::Extension; 22 using ::v8::Extension;
24 using ::v8::Function; 23 using ::v8::Function;
25 using ::v8::FunctionTemplate; 24 using ::v8::FunctionTemplate;
26 using ::v8::HandleScope; 25 using ::v8::HandleScope;
(...skipping 4054 matching lines...) Expand 10 before | Expand all | Expand 10 after
4081 ->Set(env.local(), v8_str("Fun"), 4080 ->Set(env.local(), v8_str("Fun"),
4082 fun_templ->GetFunction(env.local()).ToLocalChecked()) 4081 fun_templ->GetFunction(env.local()).ToLocalChecked())
4083 .FromJust()); 4082 .FromJust());
4084 4083
4085 CompileRun( 4084 CompileRun(
4086 "var f = new Fun();" 4085 "var f = new Fun();"
4087 "Number.prototype.__proto__ = f;" 4086 "Number.prototype.__proto__ = f;"
4088 "var a = 42;" 4087 "var a = 42;"
4089 "for (var i = 0; i<3; i++) { a.foo; }"); 4088 "for (var i = 0; i<3; i++) { a.foo; }");
4090 } 4089 }
OLDNEW
« no previous file with comments | « test/cctest/test-api.cc ('k') | test/cctest/test-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698