| 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 2338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2349 map_index.Bind(assembler->Select( | 2349 map_index.Bind(assembler->Select( |
| 2350 is_strict, | 2350 is_strict, |
| 2351 assembler->IntPtrConstant(Context::STRICT_ASYNC_FUNCTION_MAP_INDEX), | 2351 assembler->IntPtrConstant(Context::STRICT_ASYNC_FUNCTION_MAP_INDEX), |
| 2352 assembler->IntPtrConstant(Context::SLOPPY_ASYNC_FUNCTION_MAP_INDEX))); | 2352 assembler->IntPtrConstant(Context::SLOPPY_ASYNC_FUNCTION_MAP_INDEX))); |
| 2353 assembler->Goto(&load_map); | 2353 assembler->Goto(&load_map); |
| 2354 } | 2354 } |
| 2355 | 2355 |
| 2356 assembler->Bind(&if_class_constructor); | 2356 assembler->Bind(&if_class_constructor); |
| 2357 { | 2357 { |
| 2358 map_index.Bind( | 2358 map_index.Bind( |
| 2359 assembler->IntPtrConstant(Context::STRICT_FUNCTION_MAP_INDEX)); | 2359 assembler->IntPtrConstant(Context::CLASS_FUNCTION_MAP_INDEX)); |
| 2360 assembler->Goto(&load_map); | 2360 assembler->Goto(&load_map); |
| 2361 } | 2361 } |
| 2362 | 2362 |
| 2363 assembler->Bind(&if_function_without_prototype); | 2363 assembler->Bind(&if_function_without_prototype); |
| 2364 { | 2364 { |
| 2365 map_index.Bind(assembler->IntPtrConstant( | 2365 map_index.Bind(assembler->IntPtrConstant( |
| 2366 Context::STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX)); | 2366 Context::STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX)); |
| 2367 assembler->Goto(&load_map); | 2367 assembler->Goto(&load_map); |
| 2368 } | 2368 } |
| 2369 | 2369 |
| (...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3062 | 3062 |
| 3063 if (type == MachineType::Pointer()) { | 3063 if (type == MachineType::Pointer()) { |
| 3064 return Representation::External(); | 3064 return Representation::External(); |
| 3065 } | 3065 } |
| 3066 | 3066 |
| 3067 return Representation::Tagged(); | 3067 return Representation::Tagged(); |
| 3068 } | 3068 } |
| 3069 | 3069 |
| 3070 } // namespace internal | 3070 } // namespace internal |
| 3071 } // namespace v8 | 3071 } // namespace v8 |
| OLD | NEW |