| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "src/v8.h" | 5 #include "src/v8.h" | 
| 6 | 6 | 
| 7 #include "src/compiler.h" | 7 #include "src/compiler.h" | 
| 8 | 8 | 
| 9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" | 
| 10 #include "src/codegen.h" | 10 #include "src/codegen.h" | 
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 133   if (mode == STUB) { | 133   if (mode == STUB) { | 
| 134     mode_ = STUB; | 134     mode_ = STUB; | 
| 135     return; | 135     return; | 
| 136   } | 136   } | 
| 137   mode_ = mode; | 137   mode_ = mode; | 
| 138   abort_due_to_dependency_ = false; | 138   abort_due_to_dependency_ = false; | 
| 139   if (script_->type()->value() == Script::TYPE_NATIVE) MarkAsNative(); | 139   if (script_->type()->value() == Script::TYPE_NATIVE) MarkAsNative(); | 
| 140   if (isolate_->debug()->is_active()) MarkAsDebug(); | 140   if (isolate_->debug()->is_active()) MarkAsDebug(); | 
| 141   if (FLAG_context_specialization) MarkAsContextSpecializing(); | 141   if (FLAG_context_specialization) MarkAsContextSpecializing(); | 
| 142   if (FLAG_turbo_inlining) MarkAsInliningEnabled(); | 142   if (FLAG_turbo_inlining) MarkAsInliningEnabled(); | 
| 143 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 | 143 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && V8_TURBOFAN_BACKEND | 
| 144   // TODO(mstarzinger): Bugs in ARM back-end block enabling typed pipeline. | 144   // TODO(mstarzinger): Bugs in ARM back-end block enabling typed pipeline. | 
| 145   if (FLAG_turbo_types) MarkAsTypingEnabled(); | 145   if (FLAG_turbo_types) MarkAsTypingEnabled(); | 
| 146 #endif | 146 #endif | 
| 147 | 147 | 
| 148   if (!shared_info_.is_null()) { | 148   if (!shared_info_.is_null()) { | 
| 149     DCHECK(strict_mode() == SLOPPY); | 149     DCHECK(strict_mode() == SLOPPY); | 
| 150     SetStrictMode(shared_info_->strict_mode()); | 150     SetStrictMode(shared_info_->strict_mode()); | 
| 151   } | 151   } | 
| 152   set_bailout_reason(kUnknown); | 152   set_bailout_reason(kUnknown); | 
| 153 | 153 | 
| (...skipping 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1386   AllowHandleDereference allow_deref; | 1386   AllowHandleDereference allow_deref; | 
| 1387   bool tracing_on = info()->IsStub() | 1387   bool tracing_on = info()->IsStub() | 
| 1388       ? FLAG_trace_hydrogen_stubs | 1388       ? FLAG_trace_hydrogen_stubs | 
| 1389       : (FLAG_trace_hydrogen && | 1389       : (FLAG_trace_hydrogen && | 
| 1390          info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter)); | 1390          info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter)); | 
| 1391   return (tracing_on && | 1391   return (tracing_on && | 
| 1392       base::OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL); | 1392       base::OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL); | 
| 1393 } | 1393 } | 
| 1394 | 1394 | 
| 1395 } }  // namespace v8::internal | 1395 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|