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

Side by Side Diff: src/objects.h

Issue 700513002: Version 3.29.88.12 (merged r24927, r24987, r25060, r24950, r24993) (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.29
Patch Set: Created 6 years, 1 month 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/mips64/full-codegen-mips64.cc ('k') | src/objects.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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/bailout-reason.h" 10 #include "src/bailout-reason.h"
(...skipping 7845 matching lines...) Expand 10 before | Expand all | Expand 10 after
7856 static const int kEntrySize = 2; 7856 static const int kEntrySize = 2;
7857 }; 7857 };
7858 7858
7859 7859
7860 class CompilationCacheTable: public HashTable<CompilationCacheTable, 7860 class CompilationCacheTable: public HashTable<CompilationCacheTable,
7861 CompilationCacheShape, 7861 CompilationCacheShape,
7862 HashTableKey*> { 7862 HashTableKey*> {
7863 public: 7863 public:
7864 // Find cached value for a string key, otherwise return null. 7864 // Find cached value for a string key, otherwise return null.
7865 Handle<Object> Lookup(Handle<String> src, Handle<Context> context); 7865 Handle<Object> Lookup(Handle<String> src, Handle<Context> context);
7866 Handle<Object> LookupEval(Handle<String> src, Handle<Context> context, 7866 Handle<Object> LookupEval(Handle<String> src,
7867 StrictMode strict_mode, int scope_position); 7867 Handle<SharedFunctionInfo> shared,
7868 StrictMode strict_mode, int scope_position);
7868 Handle<Object> LookupRegExp(Handle<String> source, JSRegExp::Flags flags); 7869 Handle<Object> LookupRegExp(Handle<String> source, JSRegExp::Flags flags);
7869 static Handle<CompilationCacheTable> Put( 7870 static Handle<CompilationCacheTable> Put(
7870 Handle<CompilationCacheTable> cache, Handle<String> src, 7871 Handle<CompilationCacheTable> cache, Handle<String> src,
7871 Handle<Context> context, Handle<Object> value); 7872 Handle<Context> context, Handle<Object> value);
7872 static Handle<CompilationCacheTable> PutEval( 7873 static Handle<CompilationCacheTable> PutEval(
7873 Handle<CompilationCacheTable> cache, Handle<String> src, 7874 Handle<CompilationCacheTable> cache, Handle<String> src,
7874 Handle<Context> context, Handle<SharedFunctionInfo> value, 7875 Handle<SharedFunctionInfo> context, Handle<SharedFunctionInfo> value,
7875 int scope_position); 7876 int scope_position);
7876 static Handle<CompilationCacheTable> PutRegExp( 7877 static Handle<CompilationCacheTable> PutRegExp(
7877 Handle<CompilationCacheTable> cache, Handle<String> src, 7878 Handle<CompilationCacheTable> cache, Handle<String> src,
7878 JSRegExp::Flags flags, Handle<FixedArray> value); 7879 JSRegExp::Flags flags, Handle<FixedArray> value);
7879 void Remove(Object* value); 7880 void Remove(Object* value);
7880 7881
7881 DECLARE_CAST(CompilationCacheTable) 7882 DECLARE_CAST(CompilationCacheTable)
7882 7883
7883 private: 7884 private:
7884 DISALLOW_IMPLICIT_CONSTRUCTORS(CompilationCacheTable); 7885 DISALLOW_IMPLICIT_CONSTRUCTORS(CompilationCacheTable);
(...skipping 2918 matching lines...) Expand 10 before | Expand all | Expand 10 after
10803 } else { 10804 } else {
10804 value &= ~(1 << bit_position); 10805 value &= ~(1 << bit_position);
10805 } 10806 }
10806 return value; 10807 return value;
10807 } 10808 }
10808 }; 10809 };
10809 10810
10810 } } // namespace v8::internal 10811 } } // namespace v8::internal
10811 10812
10812 #endif // V8_OBJECTS_H_ 10813 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips64/full-codegen-mips64.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698