| OLD | NEW |
| 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 } | 348 } |
| 349 STATEMENT_NODE_LIST(DEF_VISIT) | 349 STATEMENT_NODE_LIST(DEF_VISIT) |
| 350 #undef DEF_VISIT | 350 #undef DEF_VISIT |
| 351 | 351 |
| 352 #define DEF_VISIT(type) \ | 352 #define DEF_VISIT(type) \ |
| 353 virtual void Visit##type(type* node) V8_OVERRIDE { \ | 353 virtual void Visit##type(type* node) V8_OVERRIDE { \ |
| 354 HOptimizedGraphBuilder::Visit##type(node); \ | 354 HOptimizedGraphBuilder::Visit##type(node); \ |
| 355 } | 355 } |
| 356 MODULE_NODE_LIST(DEF_VISIT) | 356 MODULE_NODE_LIST(DEF_VISIT) |
| 357 DECLARATION_NODE_LIST(DEF_VISIT) | 357 DECLARATION_NODE_LIST(DEF_VISIT) |
| 358 AUXILIARY_NODE_LIST(DEF_VISIT) | |
| 359 #undef DEF_VISIT | 358 #undef DEF_VISIT |
| 360 }; | 359 }; |
| 361 | 360 |
| 362 | 361 |
| 363 RecompileJob::Status RecompileJob::CreateGraph() { | 362 RecompileJob::Status RecompileJob::CreateGraph() { |
| 364 ASSERT(isolate()->use_crankshaft()); | 363 ASSERT(isolate()->use_crankshaft()); |
| 365 ASSERT(info()->IsOptimizing()); | 364 ASSERT(info()->IsOptimizing()); |
| 366 ASSERT(!info()->IsCompilingForDebugging()); | 365 ASSERT(!info()->IsCompilingForDebugging()); |
| 367 | 366 |
| 368 // We should never arrive here if there is no code object on the | 367 // We should never arrive here if there is no code object on the |
| (...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1360 AllowHandleDereference allow_deref; | 1359 AllowHandleDereference allow_deref; |
| 1361 bool tracing_on = info()->IsStub() | 1360 bool tracing_on = info()->IsStub() |
| 1362 ? FLAG_trace_hydrogen_stubs | 1361 ? FLAG_trace_hydrogen_stubs |
| 1363 : (FLAG_trace_hydrogen && | 1362 : (FLAG_trace_hydrogen && |
| 1364 info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter)); | 1363 info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter)); |
| 1365 return (tracing_on && | 1364 return (tracing_on && |
| 1366 OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL); | 1365 OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL); |
| 1367 } | 1366 } |
| 1368 | 1367 |
| 1369 } } // namespace v8::internal | 1368 } } // namespace v8::internal |
| OLD | NEW |