Chromium Code Reviews| Index: src/runtime.h |
| diff --git a/src/runtime.h b/src/runtime.h |
| index 06437ef9fb6c26a107bf9d4b7c25529c1ed122d1..114ea5ff58cebfc6480debb979987792f3d78c85 100644 |
| --- a/src/runtime.h |
| +++ b/src/runtime.h |
| @@ -241,7 +241,7 @@ namespace internal { |
| F(ResolvePossiblyDirectEval, 4, 2) \ |
| F(ResolvePossiblyDirectEvalNoLookup, 4, 2) \ |
| \ |
| - F(SetProperty, -1 /* 3 or 4 */, 1) \ |
| + F(SetProperty, -1 /* 4 or 5 */, 1) \ |
|
Martin Maly
2011/02/24 06:33:34
Will go back to 3-4 arguments.
|
| F(DefineOrRedefineDataProperty, 4, 1) \ |
| F(DefineOrRedefineAccessorProperty, 5, 1) \ |
| F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */, 1) \ |
| @@ -288,7 +288,7 @@ namespace internal { |
| F(DeleteContextSlot, 2, 1) \ |
| F(LoadContextSlot, 2, 2) \ |
| F(LoadContextSlotNoReferenceError, 2, 2) \ |
| - F(StoreContextSlot, 3, 1) \ |
| + F(StoreContextSlot, 4, 1) \ |
| \ |
| /* Declarations and initialization */ \ |
| F(DeclareGlobals, 3, 1) \ |
| @@ -538,7 +538,8 @@ class Runtime : public AllStatic { |
| Handle<Object> object, |
| Handle<Object> key, |
| Handle<Object> value, |
| - PropertyAttributes attr); |
| + PropertyAttributes attr, |
| + StrictModeFlag strict); |
| MUST_USE_RESULT static MaybeObject* ForceSetObjectProperty( |
| Handle<JSObject> object, |