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

Side by Side Diff: test/cctest/test-parsing.cc

Issue 2622503002: include fixing: api.h shouldn't include objects-inl.h (Closed)
Patch Set: static type check Created 3 years, 11 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-object.cc ('k') | test/cctest/test-profile-generator.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 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 22 matching lines...) Expand all
33 33
34 #include "src/v8.h" 34 #include "src/v8.h"
35 35
36 #include "src/ast/ast-numbering.h" 36 #include "src/ast/ast-numbering.h"
37 #include "src/ast/ast-value-factory.h" 37 #include "src/ast/ast-value-factory.h"
38 #include "src/ast/ast.h" 38 #include "src/ast/ast.h"
39 #include "src/compiler.h" 39 #include "src/compiler.h"
40 #include "src/execution.h" 40 #include "src/execution.h"
41 #include "src/flags.h" 41 #include "src/flags.h"
42 #include "src/isolate.h" 42 #include "src/isolate.h"
43 #include "src/objects-inl.h"
43 #include "src/objects.h" 44 #include "src/objects.h"
44 #include "src/parsing/parse-info.h" 45 #include "src/parsing/parse-info.h"
45 #include "src/parsing/parser.h" 46 #include "src/parsing/parser.h"
46 #include "src/parsing/parsing.h" 47 #include "src/parsing/parsing.h"
47 #include "src/parsing/preparser.h" 48 #include "src/parsing/preparser.h"
48 #include "src/parsing/rewriter.h" 49 #include "src/parsing/rewriter.h"
49 #include "src/parsing/scanner-character-streams.h" 50 #include "src/parsing/scanner-character-streams.h"
50 #include "src/parsing/token.h" 51 #include "src/parsing/token.h"
51 #include "src/unicode-cache.h" 52 #include "src/unicode-cache.h"
52 #include "src/utils.h" 53 #include "src/utils.h"
(...skipping 8743 matching lines...) Expand 10 before | Expand all | Expand 10 after
8796 DCHECK_NOT_NULL(scope); 8797 DCHECK_NOT_NULL(scope);
8797 DCHECK_NULL(scope->sibling()); 8798 DCHECK_NULL(scope->sibling());
8798 DCHECK(scope->is_function_scope()); 8799 DCHECK(scope->is_function_scope());
8799 const i::AstRawString* var_name = 8800 const i::AstRawString* var_name =
8800 info.ast_value_factory()->GetOneByteString("my_var"); 8801 info.ast_value_factory()->GetOneByteString("my_var");
8801 i::Variable* var = scope->Lookup(var_name); 8802 i::Variable* var = scope->Lookup(var_name);
8802 CHECK_EQ(inners[i].ctxt_allocate, 8803 CHECK_EQ(inners[i].ctxt_allocate,
8803 i::ScopeTestHelper::MustAllocateInContext(var)); 8804 i::ScopeTestHelper::MustAllocateInContext(var));
8804 } 8805 }
8805 } 8806 }
OLDNEW
« no previous file with comments | « test/cctest/test-object.cc ('k') | test/cctest/test-profile-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698