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

Side by Side Diff: src/contexts.h

Issue 523051: Make the ResolvePossiblyDirectEval faster by avoiding the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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 | « src/bootstrapper.cc ('k') | src/ia32/codegen-ia32.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 V(INITIAL_OBJECT_PROTOTYPE_INDEX, JSObject, initial_object_prototype) \ 70 V(INITIAL_OBJECT_PROTOTYPE_INDEX, JSObject, initial_object_prototype) \
71 V(CREATE_DATE_FUN_INDEX, JSFunction, create_date_fun) \ 71 V(CREATE_DATE_FUN_INDEX, JSFunction, create_date_fun) \
72 V(TO_NUMBER_FUN_INDEX, JSFunction, to_number_fun) \ 72 V(TO_NUMBER_FUN_INDEX, JSFunction, to_number_fun) \
73 V(TO_STRING_FUN_INDEX, JSFunction, to_string_fun) \ 73 V(TO_STRING_FUN_INDEX, JSFunction, to_string_fun) \
74 V(TO_DETAIL_STRING_FUN_INDEX, JSFunction, to_detail_string_fun) \ 74 V(TO_DETAIL_STRING_FUN_INDEX, JSFunction, to_detail_string_fun) \
75 V(TO_OBJECT_FUN_INDEX, JSFunction, to_object_fun) \ 75 V(TO_OBJECT_FUN_INDEX, JSFunction, to_object_fun) \
76 V(TO_INTEGER_FUN_INDEX, JSFunction, to_integer_fun) \ 76 V(TO_INTEGER_FUN_INDEX, JSFunction, to_integer_fun) \
77 V(TO_UINT32_FUN_INDEX, JSFunction, to_uint32_fun) \ 77 V(TO_UINT32_FUN_INDEX, JSFunction, to_uint32_fun) \
78 V(TO_INT32_FUN_INDEX, JSFunction, to_int32_fun) \ 78 V(TO_INT32_FUN_INDEX, JSFunction, to_int32_fun) \
79 V(TO_BOOLEAN_FUN_INDEX, JSFunction, to_boolean_fun) \ 79 V(TO_BOOLEAN_FUN_INDEX, JSFunction, to_boolean_fun) \
80 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \
80 V(INSTANTIATE_FUN_INDEX, JSFunction, instantiate_fun) \ 81 V(INSTANTIATE_FUN_INDEX, JSFunction, instantiate_fun) \
81 V(CONFIGURE_INSTANCE_FUN_INDEX, JSFunction, configure_instance_fun) \ 82 V(CONFIGURE_INSTANCE_FUN_INDEX, JSFunction, configure_instance_fun) \
82 V(FUNCTION_MAP_INDEX, Map, function_map) \ 83 V(FUNCTION_MAP_INDEX, Map, function_map) \
83 V(FUNCTION_INSTANCE_MAP_INDEX, Map, function_instance_map) \ 84 V(FUNCTION_INSTANCE_MAP_INDEX, Map, function_instance_map) \
84 V(JS_ARRAY_MAP_INDEX, Map, js_array_map)\ 85 V(JS_ARRAY_MAP_INDEX, Map, js_array_map)\
85 V(SPECIAL_FUNCTION_TABLE_INDEX, FixedArray, special_function_table) \ 86 V(SPECIAL_FUNCTION_TABLE_INDEX, FixedArray, special_function_table) \
86 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \ 87 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \
87 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \ 88 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \
88 V(MAKE_MESSAGE_FUN_INDEX, JSFunction, make_message_fun) \ 89 V(MAKE_MESSAGE_FUN_INDEX, JSFunction, make_message_fun) \
89 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \ 90 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 REGEXP_FUNCTION_INDEX, 196 REGEXP_FUNCTION_INDEX,
196 CREATE_DATE_FUN_INDEX, 197 CREATE_DATE_FUN_INDEX,
197 TO_NUMBER_FUN_INDEX, 198 TO_NUMBER_FUN_INDEX,
198 TO_STRING_FUN_INDEX, 199 TO_STRING_FUN_INDEX,
199 TO_DETAIL_STRING_FUN_INDEX, 200 TO_DETAIL_STRING_FUN_INDEX,
200 TO_OBJECT_FUN_INDEX, 201 TO_OBJECT_FUN_INDEX,
201 TO_INTEGER_FUN_INDEX, 202 TO_INTEGER_FUN_INDEX,
202 TO_UINT32_FUN_INDEX, 203 TO_UINT32_FUN_INDEX,
203 TO_INT32_FUN_INDEX, 204 TO_INT32_FUN_INDEX,
204 TO_BOOLEAN_FUN_INDEX, 205 TO_BOOLEAN_FUN_INDEX,
206 GLOBAL_EVAL_FUN_INDEX,
205 INSTANTIATE_FUN_INDEX, 207 INSTANTIATE_FUN_INDEX,
206 CONFIGURE_INSTANCE_FUN_INDEX, 208 CONFIGURE_INSTANCE_FUN_INDEX,
207 SPECIAL_FUNCTION_TABLE_INDEX, 209 SPECIAL_FUNCTION_TABLE_INDEX,
208 MESSAGE_LISTENERS_INDEX, 210 MESSAGE_LISTENERS_INDEX,
209 MAKE_MESSAGE_FUN_INDEX, 211 MAKE_MESSAGE_FUN_INDEX,
210 GET_STACK_TRACE_LINE_INDEX, 212 GET_STACK_TRACE_LINE_INDEX,
211 CONFIGURE_GLOBAL_INDEX, 213 CONFIGURE_GLOBAL_INDEX,
212 FUNCTION_CACHE_INDEX, 214 FUNCTION_CACHE_INDEX,
213 RUNTIME_CONTEXT_INDEX, 215 RUNTIME_CONTEXT_INDEX,
214 CALL_AS_FUNCTION_DELEGATE_INDEX, 216 CALL_AS_FUNCTION_DELEGATE_INDEX,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 #ifdef DEBUG 336 #ifdef DEBUG
335 // Bootstrapping-aware type checks. 337 // Bootstrapping-aware type checks.
336 static bool IsBootstrappingOrContext(Object* object); 338 static bool IsBootstrappingOrContext(Object* object);
337 static bool IsBootstrappingOrGlobalObject(Object* object); 339 static bool IsBootstrappingOrGlobalObject(Object* object);
338 #endif 340 #endif
339 }; 341 };
340 342
341 } } // namespace v8::internal 343 } } // namespace v8::internal
342 344
343 #endif // V8_CONTEXTS_H_ 345 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698