| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index 46b129c30c23269a164c99cf05b5841b74c9032c..6a35c66cf502b151561b427d5113c54a2084418f 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -137,6 +137,7 @@ namespace internal {
|
| V(ToInteger) \
|
| V(ToLength) \
|
| V(HasProperty) \
|
| + V(GetProperty) \
|
| V(LoadICTrampolineTF) \
|
| V(LoadICTF) \
|
| /* IC Handler stubs */ \
|
| @@ -990,6 +991,15 @@ class HasPropertyStub : public TurboFanCodeStub {
|
| DEFINE_TURBOFAN_BINARY_OP_CODE_STUB(HasProperty, TurboFanCodeStub);
|
| };
|
|
|
| +// ES6 [[Get]] operation.
|
| +class GetPropertyStub : public TurboFanCodeStub {
|
| + public:
|
| + explicit GetPropertyStub(Isolate* isolate) : TurboFanCodeStub(isolate) {}
|
| +
|
| + DEFINE_CALL_INTERFACE_DESCRIPTOR(GetProperty);
|
| + DEFINE_TURBOFAN_CODE_STUB(GetProperty, TurboFanCodeStub);
|
| +};
|
| +
|
| enum StringAddFlags {
|
| // Omit both parameter checks.
|
| STRING_ADD_CHECK_NONE = 0,
|
|
|