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: src/ast-inl.h

Issue 7618040: Version 3.5.5. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « src/ast.cc ('k') | src/bootstrapper.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 tag_(NULL), cases_(NULL) { 43 tag_(NULL), cases_(NULL) {
44 } 44 }
45 45
46 46
47 Block::Block(Isolate* isolate, 47 Block::Block(Isolate* isolate,
48 ZoneStringList* labels, 48 ZoneStringList* labels,
49 int capacity, 49 int capacity,
50 bool is_initializer_block) 50 bool is_initializer_block)
51 : BreakableStatement(isolate, labels, TARGET_FOR_NAMED_ONLY), 51 : BreakableStatement(isolate, labels, TARGET_FOR_NAMED_ONLY),
52 statements_(capacity), 52 statements_(capacity),
53 is_initializer_block_(is_initializer_block) { 53 is_initializer_block_(is_initializer_block),
54 block_scope_(NULL) {
54 } 55 }
55 56
56 57
57 BreakableStatement::BreakableStatement(Isolate* isolate, 58 BreakableStatement::BreakableStatement(Isolate* isolate,
58 ZoneStringList* labels, 59 ZoneStringList* labels,
59 Type type) 60 Type type)
60 : labels_(labels), 61 : labels_(labels),
61 type_(type), 62 type_(type),
62 entry_id_(GetNextId(isolate)), 63 entry_id_(GetNextId(isolate)),
63 exit_id_(GetNextId(isolate)) { 64 exit_id_(GetNextId(isolate)) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 112
112 113
113 bool FunctionLiteral::strict_mode() const { 114 bool FunctionLiteral::strict_mode() const {
114 return scope()->is_strict_mode(); 115 return scope()->is_strict_mode();
115 } 116 }
116 117
117 118
118 } } // namespace v8::internal 119 } } // namespace v8::internal
119 120
120 #endif // V8_AST_INL_H_ 121 #endif // V8_AST_INL_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698