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

Side by Side Diff: src/v8globals.h

Issue 7966038: Record function call targets, use them for inlining. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 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 | « src/type-info.cc ('k') | src/x64/code-stubs-x64.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 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 STRING_CHECK, 296 STRING_CHECK,
297 NUMBER_CHECK, 297 NUMBER_CHECK,
298 BOOLEAN_CHECK 298 BOOLEAN_CHECK
299 }; 299 };
300 300
301 301
302 enum CallFunctionFlags { 302 enum CallFunctionFlags {
303 NO_CALL_FUNCTION_FLAGS = 0, 303 NO_CALL_FUNCTION_FLAGS = 0,
304 // Receiver might implicitly be the global objects. If it is, the 304 // Receiver might implicitly be the global objects. If it is, the
305 // hole is passed to the call function stub. 305 // hole is passed to the call function stub.
306 RECEIVER_MIGHT_BE_IMPLICIT = 1 << 0 306 RECEIVER_MIGHT_BE_IMPLICIT = 1 << 0,
307 // The call target is cached in the instruction stream.
308 RECORD_CALL_TARGET = 1 << 1
307 }; 309 };
308 310
309 311
310 enum InlineCacheHolderFlag { 312 enum InlineCacheHolderFlag {
311 OWN_MAP, // For fast properties objects. 313 OWN_MAP, // For fast properties objects.
312 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). 314 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects).
313 }; 315 };
314 316
315 317
316 // The Store Buffer (GC). 318 // The Store Buffer (GC).
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 static const uint32_t kNaNOrInfinityLowerBoundUpper32 = 0x7FF00000; 518 static const uint32_t kNaNOrInfinityLowerBoundUpper32 = 0x7FF00000;
517 519
518 const uint64_t kHoleNanInt64 = 520 const uint64_t kHoleNanInt64 =
519 (static_cast<uint64_t>(kHoleNanUpper32) << 32) | kHoleNanLower32; 521 (static_cast<uint64_t>(kHoleNanUpper32) << 32) | kHoleNanLower32;
520 const uint64_t kLastNonNaNInt64 = 522 const uint64_t kLastNonNaNInt64 =
521 (static_cast<uint64_t>(kNaNOrInfinityLowerBoundUpper32) << 32); 523 (static_cast<uint64_t>(kNaNOrInfinityLowerBoundUpper32) << 32);
522 524
523 } } // namespace v8::internal 525 } } // namespace v8::internal
524 526
525 #endif // V8_V8GLOBALS_H_ 527 #endif // V8_V8GLOBALS_H_
OLDNEW
« no previous file with comments | « src/type-info.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698