| OLD | NEW | 
|     1 // Copyright 2013 the V8 project authors. All rights reserved. |     1 // Copyright 2013 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 #if V8_TARGET_ARCH_ARM64 |     5 #if V8_TARGET_ARCH_ARM64 | 
|     6  |     6  | 
|     7 #include "src/arm64/frames-arm64.h" |     7 #include "src/arm64/frames-arm64.h" | 
|     8 #include "src/codegen.h" |     8 #include "src/codegen.h" | 
|     9 #include "src/debug/debug.h" |     9 #include "src/debug/debug.h" | 
|    10 #include "src/deoptimizer.h" |    10 #include "src/deoptimizer.h" | 
| (...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1301   // Yes, install the full code. |  1301   // Yes, install the full code. | 
|  1302   __ Add(entry, entry, Operand(Code::kHeaderSize - kHeapObjectTag)); |  1302   __ Add(entry, entry, Operand(Code::kHeaderSize - kHeapObjectTag)); | 
|  1303   __ Str(entry, FieldMemOperand(closure, JSFunction::kCodeEntryOffset)); |  1303   __ Str(entry, FieldMemOperand(closure, JSFunction::kCodeEntryOffset)); | 
|  1304   __ RecordWriteCodeEntryField(closure, entry, x5); |  1304   __ RecordWriteCodeEntryField(closure, entry, x5); | 
|  1305   __ Jump(entry); |  1305   __ Jump(entry); | 
|  1306  |  1306  | 
|  1307   __ Bind(&gotta_call_runtime); |  1307   __ Bind(&gotta_call_runtime); | 
|  1308   GenerateTailCallToReturnedCode(masm, Runtime::kCompileLazy); |  1308   GenerateTailCallToReturnedCode(masm, Runtime::kCompileLazy); | 
|  1309 } |  1309 } | 
|  1310  |  1310  | 
 |  1311 void Builtins::Generate_CompileBaseline(MacroAssembler* masm) { | 
 |  1312   GenerateTailCallToReturnedCode(masm, Runtime::kCompileBaseline); | 
 |  1313 } | 
|  1311  |  1314  | 
|  1312 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) { |  1315 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) { | 
|  1313   GenerateTailCallToReturnedCode(masm, |  1316   GenerateTailCallToReturnedCode(masm, | 
|  1314                                  Runtime::kCompileOptimized_NotConcurrent); |  1317                                  Runtime::kCompileOptimized_NotConcurrent); | 
|  1315 } |  1318 } | 
|  1316  |  1319  | 
|  1317  |  1320  | 
|  1318 void Builtins::Generate_CompileOptimizedConcurrent(MacroAssembler* masm) { |  1321 void Builtins::Generate_CompileOptimizedConcurrent(MacroAssembler* masm) { | 
|  1319   GenerateTailCallToReturnedCode(masm, Runtime::kCompileOptimized_Concurrent); |  1322   GenerateTailCallToReturnedCode(masm, Runtime::kCompileOptimized_Concurrent); | 
|  1320 } |  1323 } | 
| (...skipping 1565 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2886   } |  2889   } | 
|  2887 } |  2890 } | 
|  2888  |  2891  | 
|  2889  |  2892  | 
|  2890 #undef __ |  2893 #undef __ | 
|  2891  |  2894  | 
|  2892 }  // namespace internal |  2895 }  // namespace internal | 
|  2893 }  // namespace v8 |  2896 }  // namespace v8 | 
|  2894  |  2897  | 
|  2895 #endif  // V8_TARGET_ARCH_ARM |  2898 #endif  // V8_TARGET_ARCH_ARM | 
| OLD | NEW |