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

Side by Side Diff: src/v8globals.h

Issue 247373002: CallICStub with a "never patch" approach until customization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE + code size multiplier. Created 6 years, 7 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/spaces.cc ('k') | src/x64/builtins-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_V8GLOBALS_H_ 5 #ifndef V8_V8GLOBALS_H_
6 #define V8_V8GLOBALS_H_ 6 #define V8_V8GLOBALS_H_
7 7
8 #include "globals.h" 8 #include "globals.h"
9 #include "checks.h" 9 #include "checks.h"
10 10
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 MEGAMORPHIC, 253 MEGAMORPHIC,
254 // A generic handler is installed and no extra typefeedback is recorded. 254 // A generic handler is installed and no extra typefeedback is recorded.
255 GENERIC, 255 GENERIC,
256 // Special state for debug break or step in prepare stubs. 256 // Special state for debug break or step in prepare stubs.
257 DEBUG_STUB 257 DEBUG_STUB
258 }; 258 };
259 259
260 260
261 enum CallFunctionFlags { 261 enum CallFunctionFlags {
262 NO_CALL_FUNCTION_FLAGS, 262 NO_CALL_FUNCTION_FLAGS,
263 // The call target is cached in the instruction stream.
264 RECORD_CALL_TARGET,
265 CALL_AS_METHOD, 263 CALL_AS_METHOD,
266 // Always wrap the receiver and call to the JSFunction. Only use this flag 264 // Always wrap the receiver and call to the JSFunction. Only use this flag
267 // both the receiver type and the target method are statically known. 265 // both the receiver type and the target method are statically known.
268 WRAP_AND_CALL 266 WRAP_AND_CALL
269 }; 267 };
270 268
271 269
270 enum CallConstructorFlags {
271 NO_CALL_CONSTRUCTOR_FLAGS,
272 // The call target is cached in the instruction stream.
273 RECORD_CONSTRUCTOR_TARGET
274 };
275
276
272 enum InlineCacheHolderFlag { 277 enum InlineCacheHolderFlag {
273 OWN_MAP, // For fast properties objects. 278 OWN_MAP, // For fast properties objects.
274 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). 279 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects).
275 }; 280 };
276 281
277 282
278 // The Store Buffer (GC). 283 // The Store Buffer (GC).
279 typedef enum { 284 typedef enum {
280 kStoreBufferFullEvent, 285 kStoreBufferFullEvent,
281 kStoreBufferStartScanningPagesEvent, 286 kStoreBufferStartScanningPagesEvent,
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 enum MinusZeroMode { 544 enum MinusZeroMode {
540 TREAT_MINUS_ZERO_AS_ZERO, 545 TREAT_MINUS_ZERO_AS_ZERO,
541 FAIL_ON_MINUS_ZERO 546 FAIL_ON_MINUS_ZERO
542 }; 547 };
543 548
544 } } // namespace v8::internal 549 } } // namespace v8::internal
545 550
546 namespace i = v8::internal; 551 namespace i = v8::internal;
547 552
548 #endif // V8_V8GLOBALS_H_ 553 #endif // V8_V8GLOBALS_H_
OLDNEW
« no previous file with comments | « src/spaces.cc ('k') | src/x64/builtins-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698