Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Side by Side Diff: src/handles.cc

Issue 11411033: Reduced TLS accesses even further. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Reverted accidental change Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/handles.h ('k') | src/ic.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/handles.h ('k') | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698