| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 Object* object, | 142 Object* object, |
| 143 void*); | 143 void*); |
| 144 static MaybeObject* ScriptGetEvalFromScriptPosition(Isolate* isolate, | 144 static MaybeObject* ScriptGetEvalFromScriptPosition(Isolate* isolate, |
| 145 Object* object, | 145 Object* object, |
| 146 void*); | 146 void*); |
| 147 static MaybeObject* ScriptGetEvalFromFunctionName(Isolate* isolate, | 147 static MaybeObject* ScriptGetEvalFromFunctionName(Isolate* isolate, |
| 148 Object* object, | 148 Object* object, |
| 149 void*); | 149 void*); |
| 150 | 150 |
| 151 // Helper functions. | 151 // Helper functions. |
| 152 static Object* FlattenNumber(Isolate* isolate, Object* value); | 152 static Handle<Object> FlattenNumber(Isolate* isolate, Handle<Object> value); |
| 153 static MaybeObject* IllegalSetter(Isolate* isolate, | 153 static MaybeObject* IllegalSetter(Isolate* isolate, |
| 154 JSObject*, | 154 JSObject*, |
| 155 Object*, | 155 Object*, |
| 156 void*); | 156 void*); |
| 157 static Object* IllegalGetAccessor(Isolate* isolate, Object* object, void*); | 157 static Object* IllegalGetAccessor(Isolate* isolate, Object* object, void*); |
| 158 static MaybeObject* ReadOnlySetAccessor(Isolate* isolate, | 158 static MaybeObject* ReadOnlySetAccessor(Isolate* isolate, |
| 159 JSObject*, | 159 JSObject*, |
| 160 Object* value, | 160 Object* value, |
| 161 void*); | 161 void*); |
| 162 }; | 162 }; |
| 163 | 163 |
| 164 } } // namespace v8::internal | 164 } } // namespace v8::internal |
| 165 | 165 |
| 166 #endif // V8_ACCESSORS_H_ | 166 #endif // V8_ACCESSORS_H_ |
| OLD | NEW |