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

Side by Side Diff: src/stub-cache-ia32.cc

Issue 18094: Fix a bunch of spelling mistakes :\ (Closed)
Patch Set: More fixes. Created 11 years, 11 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
« no previous file with comments | « src/stub-cache-arm.cc ('k') | src/top.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 __ CheckAccessGlobalProxy(receiver_reg, scratch, miss_label); 387 __ CheckAccessGlobalProxy(receiver_reg, scratch, miss_label);
388 } 388 }
389 389
390 // Stub never generated for non-global objects that require access 390 // Stub never generated for non-global objects that require access
391 // checks. 391 // checks.
392 ASSERT(object->IsJSGlobalProxy() || !object->IsAccessCheckNeeded()); 392 ASSERT(object->IsJSGlobalProxy() || !object->IsAccessCheckNeeded());
393 393
394 // Perform map transition for the receiver if necessary. 394 // Perform map transition for the receiver if necessary.
395 if ((transition != NULL) && (object->map()->unused_property_fields() == 0)) { 395 if ((transition != NULL) && (object->map()->unused_property_fields() == 0)) {
396 // The properties must be extended before we can store the value. 396 // The properties must be extended before we can store the value.
397 // We jump to a runtime call that extends the propeties array. 397 // We jump to a runtime call that extends the properties array.
398 __ mov(ecx, Immediate(Handle<Map>(transition))); 398 __ mov(ecx, Immediate(Handle<Map>(transition)));
399 Handle<Code> ic(Builtins::builtin(storage_extend)); 399 Handle<Code> ic(Builtins::builtin(storage_extend));
400 __ jmp(ic, RelocInfo::CODE_TARGET); 400 __ jmp(ic, RelocInfo::CODE_TARGET);
401 return; 401 return;
402 } 402 }
403 403
404 if (transition != NULL) { 404 if (transition != NULL) {
405 // Update the map of the object; no write barrier updating is 405 // Update the map of the object; no write barrier updating is
406 // needed because the map is never in new space. 406 // needed because the map is never in new space.
407 __ mov(FieldOperand(receiver_reg, HeapObject::kMapOffset), 407 __ mov(FieldOperand(receiver_reg, HeapObject::kMapOffset),
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC); 1199 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
1200 1200
1201 // Return the generated code. 1201 // Return the generated code.
1202 return GetCode(CALLBACKS); 1202 return GetCode(CALLBACKS);
1203 } 1203 }
1204 1204
1205 1205
1206 #undef __ 1206 #undef __
1207 1207
1208 } } // namespace v8::internal 1208 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/stub-cache-arm.cc ('k') | src/top.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698