| OLD | NEW | 
|---|
| 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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 458 } | 458 } | 
| 459 | 459 | 
| 460 | 460 | 
| 461 bool FunctionLiteral::IsInlineable() const { | 461 bool FunctionLiteral::IsInlineable() const { | 
| 462   // TODO(1322): Allow materialized literals. | 462   // TODO(1322): Allow materialized literals. | 
| 463   return false; | 463   return false; | 
| 464 } | 464 } | 
| 465 | 465 | 
| 466 | 466 | 
| 467 bool ThisFunction::IsInlineable() const { | 467 bool ThisFunction::IsInlineable() const { | 
| 468   return false; | 468   return true; | 
| 469 } | 469 } | 
| 470 | 470 | 
| 471 | 471 | 
| 472 bool SharedFunctionInfoLiteral::IsInlineable() const { | 472 bool SharedFunctionInfoLiteral::IsInlineable() const { | 
| 473   return false; | 473   return false; | 
| 474 } | 474 } | 
| 475 | 475 | 
| 476 | 476 | 
| 477 bool ForStatement::IsInlineable() const { | 477 bool ForStatement::IsInlineable() const { | 
| 478   return (init() == NULL || init()->IsInlineable()) | 478   return (init() == NULL || init()->IsInlineable()) | 
| (...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1188                        int pos) | 1188                        int pos) | 
| 1189     : label_(label), | 1189     : label_(label), | 
| 1190       statements_(statements), | 1190       statements_(statements), | 
| 1191       position_(pos), | 1191       position_(pos), | 
| 1192       compare_type_(NONE), | 1192       compare_type_(NONE), | 
| 1193       compare_id_(AstNode::GetNextId(isolate)), | 1193       compare_id_(AstNode::GetNextId(isolate)), | 
| 1194       entry_id_(AstNode::GetNextId(isolate)) { | 1194       entry_id_(AstNode::GetNextId(isolate)) { | 
| 1195 } | 1195 } | 
| 1196 | 1196 | 
| 1197 } }  // namespace v8::internal | 1197 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|