| 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/code-stubs.h" | 5 #include "src/code-stubs.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #include "src/ast/ast.h" | 9 #include "src/ast/ast.h" |
| 10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
| (...skipping 5533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5544 map_index.Bind(assembler->Select( | 5544 map_index.Bind(assembler->Select( |
| 5545 is_strict, | 5545 is_strict, |
| 5546 assembler->IntPtrConstant(Context::STRICT_ASYNC_FUNCTION_MAP_INDEX), | 5546 assembler->IntPtrConstant(Context::STRICT_ASYNC_FUNCTION_MAP_INDEX), |
| 5547 assembler->IntPtrConstant(Context::SLOPPY_ASYNC_FUNCTION_MAP_INDEX))); | 5547 assembler->IntPtrConstant(Context::SLOPPY_ASYNC_FUNCTION_MAP_INDEX))); |
| 5548 assembler->Goto(&load_map); | 5548 assembler->Goto(&load_map); |
| 5549 } | 5549 } |
| 5550 | 5550 |
| 5551 assembler->Bind(&if_class_constructor); | 5551 assembler->Bind(&if_class_constructor); |
| 5552 { | 5552 { |
| 5553 map_index.Bind( | 5553 map_index.Bind( |
| 5554 assembler->IntPtrConstant(Context::STRICT_FUNCTION_MAP_INDEX)); | 5554 assembler->IntPtrConstant(Context::CLASS_FUNCTION_MAP_INDEX)); |
| 5555 assembler->Goto(&load_map); | 5555 assembler->Goto(&load_map); |
| 5556 } | 5556 } |
| 5557 | 5557 |
| 5558 assembler->Bind(&if_function_without_prototype); | 5558 assembler->Bind(&if_function_without_prototype); |
| 5559 { | 5559 { |
| 5560 map_index.Bind(assembler->IntPtrConstant( | 5560 map_index.Bind(assembler->IntPtrConstant( |
| 5561 Context::STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX)); | 5561 Context::STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX)); |
| 5562 assembler->Goto(&load_map); | 5562 assembler->Goto(&load_map); |
| 5563 } | 5563 } |
| 5564 | 5564 |
| (...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6317 | 6317 |
| 6318 if (type == MachineType::Pointer()) { | 6318 if (type == MachineType::Pointer()) { |
| 6319 return Representation::External(); | 6319 return Representation::External(); |
| 6320 } | 6320 } |
| 6321 | 6321 |
| 6322 return Representation::Tagged(); | 6322 return Representation::Tagged(); |
| 6323 } | 6323 } |
| 6324 | 6324 |
| 6325 } // namespace internal | 6325 } // namespace internal |
| 6326 } // namespace v8 | 6326 } // namespace v8 |
| OLD | NEW |