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

Side by Side Diff: src/api.cc

Issue 6624085: [Isolates] Merge 7051:7083 from bleeding_edge to isolates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Created 9 years, 9 months 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 | « MERGE ('k') | src/arm/code-stubs-arm.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 2317 matching lines...) Expand 10 before | Expand all | Expand 10 after
2328 bool v8::Object::Set(uint32_t index, v8::Handle<Value> value) { 2328 bool v8::Object::Set(uint32_t index, v8::Handle<Value> value) {
2329 ON_BAILOUT("v8::Object::Set()", return false); 2329 ON_BAILOUT("v8::Object::Set()", return false);
2330 ENTER_V8; 2330 ENTER_V8;
2331 HandleScope scope; 2331 HandleScope scope;
2332 i::Handle<i::JSObject> self = Utils::OpenHandle(this); 2332 i::Handle<i::JSObject> self = Utils::OpenHandle(this);
2333 i::Handle<i::Object> value_obj = Utils::OpenHandle(*value); 2333 i::Handle<i::Object> value_obj = Utils::OpenHandle(*value);
2334 EXCEPTION_PREAMBLE(); 2334 EXCEPTION_PREAMBLE();
2335 i::Handle<i::Object> obj = i::SetElement( 2335 i::Handle<i::Object> obj = i::SetElement(
2336 self, 2336 self,
2337 index, 2337 index,
2338 value_obj); 2338 value_obj,
2339 i::kNonStrictMode);
2339 has_pending_exception = obj.is_null(); 2340 has_pending_exception = obj.is_null();
2340 EXCEPTION_BAILOUT_CHECK(false); 2341 EXCEPTION_BAILOUT_CHECK(false);
2341 return true; 2342 return true;
2342 } 2343 }
2343 2344
2344 2345
2345 bool v8::Object::ForceSet(v8::Handle<Value> key, 2346 bool v8::Object::ForceSet(v8::Handle<Value> key,
2346 v8::Handle<Value> value, 2347 v8::Handle<Value> value,
2347 v8::PropertyAttribute attribs) { 2348 v8::PropertyAttribute attribs) {
2348 ON_BAILOUT("v8::Object::ForceSet()", return false); 2349 ON_BAILOUT("v8::Object::ForceSet()", return false);
(...skipping 2855 matching lines...) Expand 10 before | Expand all | Expand 10 after
5204 5205
5205 5206
5206 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { 5207 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) {
5207 HandleScopeImplementer* thread_local = 5208 HandleScopeImplementer* thread_local =
5208 reinterpret_cast<HandleScopeImplementer*>(storage); 5209 reinterpret_cast<HandleScopeImplementer*>(storage);
5209 thread_local->IterateThis(v); 5210 thread_local->IterateThis(v);
5210 return storage + ArchiveSpacePerThread(); 5211 return storage + ArchiveSpacePerThread();
5211 } 5212 }
5212 5213
5213 } } // namespace v8::internal 5214 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « MERGE ('k') | src/arm/code-stubs-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698