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

Side by Side Diff: src/ast.cc

Issue 2878014: [Isolates] Fixing Win32 compile and running tests failure. (Closed)
Patch Set: Typos Created 10 years, 5 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 | « no previous file | src/builtins.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 inside_with_(inside_with), 82 inside_with_(inside_with),
83 is_trivial_(false), 83 is_trivial_(false),
84 reaching_definitions_(NULL), 84 reaching_definitions_(NULL),
85 is_primitive_(false) { 85 is_primitive_(false) {
86 // names must be canonicalized for fast equality checks 86 // names must be canonicalized for fast equality checks
87 ASSERT(name->IsSymbol()); 87 ASSERT(name->IsSymbol());
88 } 88 }
89 89
90 90
91 VariableProxy::VariableProxy(bool is_this) 91 VariableProxy::VariableProxy(bool is_this)
92 : is_this_(is_this), 92 : var_(NULL),
93 is_this_(is_this),
93 reaching_definitions_(NULL), 94 reaching_definitions_(NULL),
94 is_primitive_(false) { 95 is_primitive_(false) {
95 } 96 }
96 97
97 98
98 void VariableProxy::BindTo(Variable* var) { 99 void VariableProxy::BindTo(Variable* var) {
99 ASSERT(var_ == NULL); // must be bound only once 100 ASSERT(var_ == NULL); // must be bound only once
100 ASSERT(var != NULL); // must bind 101 ASSERT(var != NULL); // must bind
101 ASSERT((is_this() && var->is_this()) || name_.is_identical_to(var->name())); 102 ASSERT((is_this() && var->is_this()) || name_.is_identical_to(var->name()));
102 // Ideally CONST-ness should match. However, this is very hard to achieve 103 // Ideally CONST-ness should match. However, this is very hard to achieve
(...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 SetStackOverflow(); 1147 SetStackOverflow();
1147 } 1148 }
1148 1149
1149 1150
1150 void CopyAstVisitor::VisitDeclaration(Declaration* decl) { 1151 void CopyAstVisitor::VisitDeclaration(Declaration* decl) {
1151 UNREACHABLE(); 1152 UNREACHABLE();
1152 } 1153 }
1153 1154
1154 1155
1155 } } // namespace v8::internal 1156 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698