| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 Handle<Object> prototype) { | 222 Handle<Object> prototype) { |
| 223 ASSERT(function->should_have_prototype()); | 223 ASSERT(function->should_have_prototype()); |
| 224 CALL_HEAP_FUNCTION(function->GetIsolate(), | 224 CALL_HEAP_FUNCTION(function->GetIsolate(), |
| 225 Accessors::FunctionSetPrototype(*function, | 225 Accessors::FunctionSetPrototype(*function, |
| 226 *prototype, | 226 *prototype, |
| 227 NULL), | 227 NULL), |
| 228 Object); | 228 Object); |
| 229 } | 229 } |
| 230 | 230 |
| 231 | 231 |
| 232 Handle<Object> SetProperty(Handle<Object> object, | 232 Handle<Object> SetProperty(Isolate* isolate, |
| 233 Handle<Object> object, |
| 233 Handle<Object> key, | 234 Handle<Object> key, |
| 234 Handle<Object> value, | 235 Handle<Object> value, |
| 235 PropertyAttributes attributes, | 236 PropertyAttributes attributes, |
| 236 StrictModeFlag strict_mode) { | 237 StrictModeFlag strict_mode) { |
| 237 Isolate* isolate = Isolate::Current(); | |
| 238 CALL_HEAP_FUNCTION( | 238 CALL_HEAP_FUNCTION( |
| 239 isolate, | 239 isolate, |
| 240 Runtime::SetObjectProperty( | 240 Runtime::SetObjectProperty( |
| 241 isolate, object, key, value, attributes, strict_mode), | 241 isolate, object, key, value, attributes, strict_mode), |
| 242 Object); | 242 Object); |
| 243 } | 243 } |
| 244 | 244 |
| 245 | 245 |
| 246 Handle<Object> ForceSetProperty(Handle<JSObject> object, | 246 Handle<Object> ForceSetProperty(Handle<JSObject> object, |
| 247 Handle<Object> key, | 247 Handle<Object> key, |
| (...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1077 data->next = prev_next_; | 1077 data->next = prev_next_; |
| 1078 data->limit = prev_limit_; | 1078 data->limit = prev_limit_; |
| 1079 #ifdef DEBUG | 1079 #ifdef DEBUG |
| 1080 handles_detached_ = true; | 1080 handles_detached_ = true; |
| 1081 #endif | 1081 #endif |
| 1082 return deferred; | 1082 return deferred; |
| 1083 } | 1083 } |
| 1084 | 1084 |
| 1085 | 1085 |
| 1086 } } // namespace v8::internal | 1086 } } // namespace v8::internal |
| OLD | NEW |