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

Side by Side Diff: src/ast.cc

Issue 6993057: Version 3.4.2 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 6 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/arm/stub-cache-arm.cc ('k') | src/deoptimizer.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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 UNREACHABLE(); 334 UNREACHABLE();
335 } 335 }
336 return false; 336 return false;
337 } 337 }
338 338
339 339
340 // ---------------------------------------------------------------------------- 340 // ----------------------------------------------------------------------------
341 // Inlining support 341 // Inlining support
342 342
343 bool Declaration::IsInlineable() const { 343 bool Declaration::IsInlineable() const {
344 UNREACHABLE(); 344 return proxy()->var()->IsStackAllocated() && fun() == NULL;
345 return false;
346 } 345 }
347 346
348 347
349 bool TargetCollector::IsInlineable() const { 348 bool TargetCollector::IsInlineable() const {
350 UNREACHABLE(); 349 UNREACHABLE();
351 return false; 350 return false;
352 } 351 }
353 352
354 353
355 bool Slot::IsInlineable() const { 354 bool Slot::IsInlineable() const {
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
1148 int pos) 1147 int pos)
1149 : label_(label), 1148 : label_(label),
1150 statements_(statements), 1149 statements_(statements),
1151 position_(pos), 1150 position_(pos),
1152 compare_type_(NONE), 1151 compare_type_(NONE),
1153 compare_id_(AstNode::GetNextId()), 1152 compare_id_(AstNode::GetNextId()),
1154 entry_id_(AstNode::GetNextId()) { 1153 entry_id_(AstNode::GetNextId()) {
1155 } 1154 }
1156 1155
1157 } } // namespace v8::internal 1156 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698