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/builtins.h" | 5 #include "src/builtins.h" |
6 | 6 |
7 #include "src/api-arguments.h" | 7 #include "src/api-arguments.h" |
8 #include "src/api-natives.h" | 8 #include "src/api-natives.h" |
9 #include "src/api.h" | 9 #include "src/api.h" |
10 #include "src/base/ieee754.h" | 10 #include "src/base/ieee754.h" |
(...skipping 5477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5488 | 5488 |
5489 Node* receiver = assembler->Parameter(0); | 5489 Node* receiver = assembler->Parameter(0); |
5490 Node* name = assembler->Parameter(1); | 5490 Node* name = assembler->Parameter(1); |
5491 // Node* slot = assembler->Parameter(2); | 5491 // Node* slot = assembler->Parameter(2); |
5492 // Node* vector = assembler->Parameter(3); | 5492 // Node* vector = assembler->Parameter(3); |
5493 Node* context = assembler->Parameter(4); | 5493 Node* context = assembler->Parameter(4); |
5494 | 5494 |
5495 assembler->TailCallRuntime(Runtime::kGetProperty, context, receiver, name); | 5495 assembler->TailCallRuntime(Runtime::kGetProperty, context, receiver, name); |
5496 } | 5496 } |
5497 | 5497 |
5498 void Generate_LoadGlobalIC_Slow(CodeStubAssembler* assembler) { | 5498 void Generate_LoadGlobalIC_SlowInsideTypeof(CodeStubAssembler* assembler) { |
5499 typedef compiler::Node Node; | 5499 typedef compiler::Node Node; |
5500 | 5500 |
5501 Node* name = assembler->Parameter(0); | 5501 Node* name = assembler->Parameter(0); |
5502 // Node* slot = assembler->Parameter(1); | 5502 // Node* slot = assembler->Parameter(1); |
5503 // Node* vector = assembler->Parameter(2); | 5503 // Node* vector = assembler->Parameter(2); |
5504 Node* context = assembler->Parameter(3); | 5504 Node* context = assembler->Parameter(3); |
5505 | 5505 |
5506 assembler->TailCallRuntime(Runtime::kGetGlobal, context, name); | 5506 assembler->TailCallRuntime(Runtime::kGetGlobalInsideTypeof, context, name); |
| 5507 } |
| 5508 |
| 5509 void Generate_LoadGlobalIC_SlowNotInsideTypeof(CodeStubAssembler* assembler) { |
| 5510 typedef compiler::Node Node; |
| 5511 |
| 5512 Node* name = assembler->Parameter(0); |
| 5513 // Node* slot = assembler->Parameter(1); |
| 5514 // Node* vector = assembler->Parameter(2); |
| 5515 Node* context = assembler->Parameter(3); |
| 5516 |
| 5517 assembler->TailCallRuntime(Runtime::kGetGlobalNotInsideTypeof, context, name); |
5507 } | 5518 } |
5508 | 5519 |
5509 void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) { | 5520 void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) { |
5510 KeyedLoadIC::GenerateRuntimeGetProperty(masm); | 5521 KeyedLoadIC::GenerateRuntimeGetProperty(masm); |
5511 } | 5522 } |
5512 | 5523 |
5513 void Generate_KeyedLoadIC_Miss(MacroAssembler* masm) { | 5524 void Generate_KeyedLoadIC_Miss(MacroAssembler* masm) { |
5514 KeyedLoadIC::GenerateMiss(masm); | 5525 KeyedLoadIC::GenerateMiss(masm); |
5515 } | 5526 } |
5516 | 5527 |
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6108 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) | 6119 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) |
6109 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) | 6120 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) |
6110 #undef DEFINE_BUILTIN_ACCESSOR_C | 6121 #undef DEFINE_BUILTIN_ACCESSOR_C |
6111 #undef DEFINE_BUILTIN_ACCESSOR_A | 6122 #undef DEFINE_BUILTIN_ACCESSOR_A |
6112 #undef DEFINE_BUILTIN_ACCESSOR_T | 6123 #undef DEFINE_BUILTIN_ACCESSOR_T |
6113 #undef DEFINE_BUILTIN_ACCESSOR_S | 6124 #undef DEFINE_BUILTIN_ACCESSOR_S |
6114 #undef DEFINE_BUILTIN_ACCESSOR_H | 6125 #undef DEFINE_BUILTIN_ACCESSOR_H |
6115 | 6126 |
6116 } // namespace internal | 6127 } // namespace internal |
6117 } // namespace v8 | 6128 } // namespace v8 |
OLD | NEW |