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

Side by Side Diff: src/objects-inl.h

Issue 9231025: Fix typos in JSObject::GetHeaderSize, which just worked by accident. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after
1384 return JSGlobalProxy::kSize; 1384 return JSGlobalProxy::kSize;
1385 case JS_GLOBAL_OBJECT_TYPE: 1385 case JS_GLOBAL_OBJECT_TYPE:
1386 return JSGlobalObject::kSize; 1386 return JSGlobalObject::kSize;
1387 case JS_BUILTINS_OBJECT_TYPE: 1387 case JS_BUILTINS_OBJECT_TYPE:
1388 return JSBuiltinsObject::kSize; 1388 return JSBuiltinsObject::kSize;
1389 case JS_FUNCTION_TYPE: 1389 case JS_FUNCTION_TYPE:
1390 return JSFunction::kSize; 1390 return JSFunction::kSize;
1391 case JS_VALUE_TYPE: 1391 case JS_VALUE_TYPE:
1392 return JSValue::kSize; 1392 return JSValue::kSize;
1393 case JS_ARRAY_TYPE: 1393 case JS_ARRAY_TYPE:
1394 return JSValue::kSize; 1394 return JSArray::kSize;
1395 case JS_WEAK_MAP_TYPE: 1395 case JS_WEAK_MAP_TYPE:
1396 return JSWeakMap::kSize; 1396 return JSWeakMap::kSize;
1397 case JS_REGEXP_TYPE: 1397 case JS_REGEXP_TYPE:
1398 return JSValue::kSize; 1398 return JSRegExp::kSize;
1399 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: 1399 case JS_CONTEXT_EXTENSION_OBJECT_TYPE:
1400 return JSObject::kHeaderSize; 1400 return JSObject::kHeaderSize;
1401 case JS_MESSAGE_OBJECT_TYPE: 1401 case JS_MESSAGE_OBJECT_TYPE:
1402 return JSMessageObject::kSize; 1402 return JSMessageObject::kSize;
1403 default: 1403 default:
1404 UNREACHABLE(); 1404 UNREACHABLE();
1405 return 0; 1405 return 0;
1406 } 1406 }
1407 } 1407 }
1408 1408
(...skipping 3374 matching lines...) Expand 10 before | Expand all | Expand 10 after
4783 #undef WRITE_INT_FIELD 4783 #undef WRITE_INT_FIELD
4784 #undef READ_SHORT_FIELD 4784 #undef READ_SHORT_FIELD
4785 #undef WRITE_SHORT_FIELD 4785 #undef WRITE_SHORT_FIELD
4786 #undef READ_BYTE_FIELD 4786 #undef READ_BYTE_FIELD
4787 #undef WRITE_BYTE_FIELD 4787 #undef WRITE_BYTE_FIELD
4788 4788
4789 4789
4790 } } // namespace v8::internal 4790 } } // namespace v8::internal
4791 4791
4792 #endif // V8_OBJECTS_INL_H_ 4792 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698