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

Side by Side Diff: src/contexts.h

Issue 1409123003: [runtime] Avoid @@isConcatSpreadable lookup for fast path Array.prototype.concat (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: merging with master Created 4 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
« no previous file with comments | « src/context-measure.cc ('k') | src/contexts.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_CONTEXTS_H_ 5 #ifndef V8_CONTEXTS_H_
6 #define V8_CONTEXTS_H_ 6 #define V8_CONTEXTS_H_
7 7
8 #include "src/heap/heap.h" 8 #include "src/heap/heap.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 10
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 void IncrementErrorsThrown(); 401 void IncrementErrorsThrown();
402 int GetErrorsThrown(); 402 int GetErrorsThrown();
403 403
404 // Direct slot access. 404 // Direct slot access.
405 inline JSFunction* closure(); 405 inline JSFunction* closure();
406 inline void set_closure(JSFunction* closure); 406 inline void set_closure(JSFunction* closure);
407 407
408 inline Context* previous(); 408 inline Context* previous();
409 inline void set_previous(Context* context); 409 inline void set_previous(Context* context);
410 410
411 inline Object* next_context_link();
412
411 inline bool has_extension(); 413 inline bool has_extension();
412 inline HeapObject* extension(); 414 inline HeapObject* extension();
413 inline void set_extension(HeapObject* object); 415 inline void set_extension(HeapObject* object);
414 JSObject* extension_object(); 416 JSObject* extension_object();
415 JSReceiver* extension_receiver(); 417 JSReceiver* extension_receiver();
416 ScopeInfo* scope_info(); 418 ScopeInfo* scope_info();
417 String* catch_name(); 419 String* catch_name();
418 420
419 inline JSModule* module(); 421 inline JSModule* module();
420 inline void set_module(JSModule* module); 422 inline void set_module(JSModule* module);
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 #endif 559 #endif
558 560
559 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 561 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
560 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 562 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
561 }; 563 };
562 564
563 } // namespace internal 565 } // namespace internal
564 } // namespace v8 566 } // namespace v8
565 567
566 #endif // V8_CONTEXTS_H_ 568 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/context-measure.cc ('k') | src/contexts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698