| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 V(FunctionName) \ | 38 V(FunctionName) \ |
| 39 V(FunctionArguments) \ | 39 V(FunctionArguments) \ |
| 40 V(FunctionCaller) \ | 40 V(FunctionCaller) \ |
| 41 V(ArrayLength) \ | 41 V(ArrayLength) \ |
| 42 V(StringLength) \ | 42 V(StringLength) \ |
| 43 V(ScriptSource) \ | 43 V(ScriptSource) \ |
| 44 V(ScriptName) \ | 44 V(ScriptName) \ |
| 45 V(ScriptId) \ | 45 V(ScriptId) \ |
| 46 V(ScriptLineOffset) \ | 46 V(ScriptLineOffset) \ |
| 47 V(ScriptColumnOffset) \ | 47 V(ScriptColumnOffset) \ |
| 48 V(ScriptData) \ |
| 48 V(ScriptType) \ | 49 V(ScriptType) \ |
| 49 V(ScriptLineEnds) \ | 50 V(ScriptLineEnds) \ |
| 50 V(ObjectPrototype) | 51 V(ObjectPrototype) |
| 51 | 52 |
| 52 // Accessors contains all predefined proxy accessors. | 53 // Accessors contains all predefined proxy accessors. |
| 53 | 54 |
| 54 class Accessors : public AllStatic { | 55 class Accessors : public AllStatic { |
| 55 public: | 56 public: |
| 56 // Accessor descriptors. | 57 // Accessor descriptors. |
| 57 #define ACCESSOR_DESCRIPTOR_DECLARATION(name) \ | 58 #define ACCESSOR_DESCRIPTOR_DECLARATION(name) \ |
| (...skipping 19 matching lines...) Expand all Loading... |
| 77 static Object* FunctionGetArguments(Object* object, void*); | 78 static Object* FunctionGetArguments(Object* object, void*); |
| 78 static Object* FunctionGetCaller(Object* object, void*); | 79 static Object* FunctionGetCaller(Object* object, void*); |
| 79 static Object* ArraySetLength(JSObject* object, Object* value, void*); | 80 static Object* ArraySetLength(JSObject* object, Object* value, void*); |
| 80 static Object* ArrayGetLength(Object* object, void*); | 81 static Object* ArrayGetLength(Object* object, void*); |
| 81 static Object* StringGetLength(Object* object, void*); | 82 static Object* StringGetLength(Object* object, void*); |
| 82 static Object* ScriptGetName(Object* object, void*); | 83 static Object* ScriptGetName(Object* object, void*); |
| 83 static Object* ScriptGetId(Object* object, void*); | 84 static Object* ScriptGetId(Object* object, void*); |
| 84 static Object* ScriptGetSource(Object* object, void*); | 85 static Object* ScriptGetSource(Object* object, void*); |
| 85 static Object* ScriptGetLineOffset(Object* object, void*); | 86 static Object* ScriptGetLineOffset(Object* object, void*); |
| 86 static Object* ScriptGetColumnOffset(Object* object, void*); | 87 static Object* ScriptGetColumnOffset(Object* object, void*); |
| 88 static Object* ScriptGetData(Object* object, void*); |
| 87 static Object* ScriptGetType(Object* object, void*); | 89 static Object* ScriptGetType(Object* object, void*); |
| 88 static Object* ScriptGetLineEnds(Object* object, void*); | 90 static Object* ScriptGetLineEnds(Object* object, void*); |
| 89 static Object* ObjectGetPrototype(Object* receiver, void*); | 91 static Object* ObjectGetPrototype(Object* receiver, void*); |
| 90 static Object* ObjectSetPrototype(JSObject* receiver, Object* value, void*); | 92 static Object* ObjectSetPrototype(JSObject* receiver, Object* value, void*); |
| 91 | 93 |
| 92 // Helper functions. | 94 // Helper functions. |
| 93 static Object* FlattenNumber(Object* value); | 95 static Object* FlattenNumber(Object* value); |
| 94 static Object* IllegalSetter(JSObject*, Object*, void*); | 96 static Object* IllegalSetter(JSObject*, Object*, void*); |
| 95 static Object* IllegalGetAccessor(Object* object, void*); | 97 static Object* IllegalGetAccessor(Object* object, void*); |
| 96 static Object* ReadOnlySetAccessor(JSObject*, Object* value, void*); | 98 static Object* ReadOnlySetAccessor(JSObject*, Object* value, void*); |
| 97 }; | 99 }; |
| 98 | 100 |
| 99 } } // namespace v8::internal | 101 } } // namespace v8::internal |
| 100 | 102 |
| 101 #endif // V8_ACCESSORS_H_ | 103 #endif // V8_ACCESSORS_H_ |
| OLD | NEW |