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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 code->set_has_deoptimization_support(info->HasDeoptimizationSupport()); | 329 code->set_has_deoptimization_support(info->HasDeoptimizationSupport()); |
330 code->set_handler_table(*cgen.handler_table()); | 330 code->set_handler_table(*cgen.handler_table()); |
331 #ifdef ENABLE_DEBUGGER_SUPPORT | 331 #ifdef ENABLE_DEBUGGER_SUPPORT |
332 code->set_has_debug_break_slots( | 332 code->set_has_debug_break_slots( |
333 info->isolate()->debugger()->IsDebuggerActive()); | 333 info->isolate()->debugger()->IsDebuggerActive()); |
334 code->set_compiled_optimizable(info->IsOptimizable()); | 334 code->set_compiled_optimizable(info->IsOptimizable()); |
335 #endif // ENABLE_DEBUGGER_SUPPORT | 335 #endif // ENABLE_DEBUGGER_SUPPORT |
336 code->set_allow_osr_at_loop_nesting_level(0); | 336 code->set_allow_osr_at_loop_nesting_level(0); |
337 code->set_profiler_ticks(0); | 337 code->set_profiler_ticks(0); |
338 code->set_stack_check_table_offset(table_offset); | 338 code->set_stack_check_table_offset(table_offset); |
| 339 code->set_stack_check_patched_for_osr(false); |
339 CodeGenerator::PrintCode(code, info); | 340 CodeGenerator::PrintCode(code, info); |
340 info->SetCode(code); // May be an empty handle. | 341 info->SetCode(code); // May be an empty handle. |
341 #ifdef ENABLE_GDB_JIT_INTERFACE | 342 #ifdef ENABLE_GDB_JIT_INTERFACE |
342 if (FLAG_gdbjit && !code.is_null()) { | 343 if (FLAG_gdbjit && !code.is_null()) { |
343 GDBJITLineInfo* lineinfo = | 344 GDBJITLineInfo* lineinfo = |
344 masm.positions_recorder()->DetachGDBJITLineInfo(); | 345 masm.positions_recorder()->DetachGDBJITLineInfo(); |
345 | 346 |
346 GDBJIT(RegisterDetailedLineInfo(*code, lineinfo)); | 347 GDBJIT(RegisterDetailedLineInfo(*code, lineinfo)); |
347 } | 348 } |
348 #endif | 349 #endif |
(...skipping 1226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1575 } | 1576 } |
1576 | 1577 |
1577 return false; | 1578 return false; |
1578 } | 1579 } |
1579 | 1580 |
1580 | 1581 |
1581 #undef __ | 1582 #undef __ |
1582 | 1583 |
1583 | 1584 |
1584 } } // namespace v8::internal | 1585 } } // namespace v8::internal |
OLD | NEW |