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

Side by Side Diff: src/api.cc

Issue 6903060: Version 3.3.2.... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: '' Created 9 years, 8 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 | « samples/shell.cc ('k') | src/arm/assembler-arm.h » ('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 3143 matching lines...) Expand 10 before | Expand all | Expand 10 after
3154 case i::EXTERNAL_SHORT_ARRAY_TYPE: 3154 case i::EXTERNAL_SHORT_ARRAY_TYPE:
3155 return kExternalShortArray; 3155 return kExternalShortArray;
3156 case i::EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE: 3156 case i::EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE:
3157 return kExternalUnsignedShortArray; 3157 return kExternalUnsignedShortArray;
3158 case i::EXTERNAL_INT_ARRAY_TYPE: 3158 case i::EXTERNAL_INT_ARRAY_TYPE:
3159 return kExternalIntArray; 3159 return kExternalIntArray;
3160 case i::EXTERNAL_UNSIGNED_INT_ARRAY_TYPE: 3160 case i::EXTERNAL_UNSIGNED_INT_ARRAY_TYPE:
3161 return kExternalUnsignedIntArray; 3161 return kExternalUnsignedIntArray;
3162 case i::EXTERNAL_FLOAT_ARRAY_TYPE: 3162 case i::EXTERNAL_FLOAT_ARRAY_TYPE:
3163 return kExternalFloatArray; 3163 return kExternalFloatArray;
3164 case i::EXTERNAL_DOUBLE_ARRAY_TYPE:
3165 return kExternalDoubleArray;
3164 case i::EXTERNAL_PIXEL_ARRAY_TYPE: 3166 case i::EXTERNAL_PIXEL_ARRAY_TYPE:
3165 return kExternalPixelArray; 3167 return kExternalPixelArray;
3166 default: 3168 default:
3167 return static_cast<ExternalArrayType>(-1); 3169 return static_cast<ExternalArrayType>(-1);
3168 } 3170 }
3169 } 3171 }
3170 3172
3171 3173
3172 int v8::Object::GetIndexedPropertiesExternalArrayDataLength() { 3174 int v8::Object::GetIndexedPropertiesExternalArrayDataLength() {
3173 i::Handle<i::JSObject> self = Utils::OpenHandle(this); 3175 i::Handle<i::JSObject> self = Utils::OpenHandle(this);
(...skipping 2500 matching lines...) Expand 10 before | Expand all | Expand 10 after
5674 5676
5675 5677
5676 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { 5678 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) {
5677 HandleScopeImplementer* scope_implementer = 5679 HandleScopeImplementer* scope_implementer =
5678 reinterpret_cast<HandleScopeImplementer*>(storage); 5680 reinterpret_cast<HandleScopeImplementer*>(storage);
5679 scope_implementer->IterateThis(v); 5681 scope_implementer->IterateThis(v);
5680 return storage + ArchiveSpacePerThread(); 5682 return storage + ArchiveSpacePerThread();
5681 } 5683 }
5682 5684
5683 } } // namespace v8::internal 5685 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « samples/shell.cc ('k') | src/arm/assembler-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698